You are not logged in.

#1 2015-09-17 04:20:39

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=0, j=0;
      if(i && j++)
            printf("%d..%d", i++, j);
      printf("%d..%d", i, j);
}

Option A):
1..1
Option B):
0..0
Option C):
0..1
Option D):
1..0

Correct Answer is Option B):
0..0


Failure is the first step towards seccess.

2015-09-17 04:20:39

Advertisement
Ads By Google

Re: C Language Basic Quiz Question.



Board footer