You are not logged in.
Pages:: 1
#1 2015-09-14 05:45:49
C Language Operators And Expressions Program:
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++!=10 && y++>11)
printf("%d", y);
else
printf("%d", y);
}
Option A):
12
Option B):
11
Option C):
15
Option D):
13
Correct Answer is Option D):
13
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-09-14 05:45:49
- Advertisement
- Ads By Google
Re: C Language Operators And Expressions Program:
\n
Pages:: 1