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

Consider the following assembly line problem: time_to_reach[2][3] = {{17, 2, 7}, {19, 4, 9}} time_spent[2][4] = {{6, 5, 15, 7}, {5, 10, 11, 4}} entry_time[2] = {8, 10} exit_time[2] = {10, 7} num_of_stations = 4 What is the minimum time required to build the car chassis? In method overloading, what must be different between the overloaded methods in the same class? How is the render time calculated? What is the highest index of an array with 10 elements in Java? What does a light pen contain?