Solved

What Is the Output of the Following Code Fragment If

Question 16

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions