You are not logged in.

#1 2015-09-17 04:03:17

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

C Language Basic Quiz Question.

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … uage-Basic

Directions:
Determine Output:

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

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

Correct Answer is Option C):
45545


Failure is the first step towards seccess.

2015-09-17 04:03:17

Advertisement
Ads By Google

Re: C Language Basic Quiz Question.



Board footer