Important MCQ

Output? (x = 25) int x = 25; if (x > 10) { if (x > 20) { if (x > 30) cout << "A"; else cout << "B"; } else cout << "C"; } else cout << "D";

Q.Output? (x = 25) int x = 25; if (x > 10) { if (x > 20) { if (x > 30) cout << "A"; else cout << "B"; } else cout << "C"; } else cout << "D";

A) A
B) B
C) C
D) D
Correct Answer:
Option B