You are not logged in.

#1 2015-09-14 06:09:54

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

C Language Function Determine Output:

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … e-Function

Directions:
main()
{
      int i = 5;
      printf("%d%d%d%d%d", i++, i--, ++i, --i, i);
}

Question:
Determine output:

Option A):
45445
Option B):
45545
Option C):
54554
Option D):
54544

Correct Answer is Option B):
45545


Failure is the first step towards seccess.

2015-09-14 06:09:54

Advertisement
Ads By Google

Re: C Language Function Determine Output:



Board footer