Multiple Choice
What is the output of the following code fragment if x is 15?
Ifx < 20)
Ifx <10)
Cout << "less than 10 ";
Else
Cout << "large\n";
A) less than 10
B) nothing
C) large
D) no output, syntax error
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q11: Given the following enumerated data type definition,
Q12: The compiler always pairs an else with
Q13: What is wrong with the following switch
Q14: Which boolean operation is described by the
Q15: Which of the following symbols has the
Q17: _ is a type whose values are
Q18: Which of the following is not a
Q19: Which of the following are valid case
Q20: A switch statement variable must be _
Q21: All nested if-else statements can be converted