Home / MCQ Bank / Computer
Computer Operators And Expressions

What is the output of the following statements? int b=15, c=5, d=8, e=8, a; a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15; printf("%d", a);

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • 14

Related Computer Questions

In SQL, which command(s) is(are) used to change a table's storage characteristics? What is the purpose of the unique() function in R? What is the average number of inversions in an array of N distinct numbers? Who is the father of personal computer? What will be the output of the following C code? #include <stdio.h> int main() { int x = 2, y = 1; x *= x + y; printf("%d\n", x); return 0; }