You are not logged in.
Pages:: 1
#1 2015-09-14 05:48:22
C Language Operators And Expressions Output:
C Programming Quizzes C Language Operators And Expressions
Directions:
Find the output of the following program.
Question:
#include<stdio.h>
void main()
{
int y=10;
if(y++>9 && y++!=11 && y++>11)
printf("%d", y);
else
printf("%d", y);
}
Option A):
14
Option B):
13
Option C):
12
Option D):
11
Correct Answer is Option C):
12
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-09-14 05:48:22
- Advertisement
- Ads By Google
Re: C Language Operators And Expressions Output:
\n
Pages:: 1