You are not logged in.
- Topics: Active | Unanswered
#1 2015-09-14 05:39:26
C Language Operators And Expressions Statements:
C Programming Quizzes C Language Operators And Expressions
Directions:
What is the output of the following statements?
Question:
int b=15, c=5, d=8, e=8, a;
a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;
printf("%d", a);
Option A):
13
Option B):
12
Option C):
16
Option D):
14
Correct Answer is Option D):
14
Failure is the first step towards seccess.
Offline
2015-09-14 05:39:26
- Advertisement
- Ads By Google
Re: C Language Operators And Expressions Statements:
\n