You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-09-15 05:44:17
C Language Control Structures Output:
http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … Structures
Directions:
Find the output of the following program.
Question:
#include<stdio.h>
void main()
{
int y=10;
if(y++>9 && y++!=10 && y++>11)
printf("%d", y);
else
printf("%d", y);
}
Option A):
14
Option B):
12
Option C):
13
Option D):
11
Correct Answer is Option C):
13
Failure is the first step towards seccess.
Offline
2015-09-15 05:44:17
- Advertisement
- Ads By Google
Re: C Language Control Structures Output:
Pages:: 1