Important MCQ

Output? int x = 0; if (x > 0) cout << "Positive"; else if (x < 0) cout << "Negative"; else cout << "Zero";

Q.Output? int x = 0; if (x > 0) cout << "Positive"; else if (x < 0) cout << "Negative"; else cout << "Zero";

A) Positive
B) Negative
C) Zero
D) Nothing
Correct Answer:
Option C