Important MCQ

Output? int i = 1; do { cout << i; if (i == 3) break; i++; } while (i <= 5);

Q.Output? int i = 1; do { cout << i; if (i == 3) break; i++; } while (i <= 5);

A) 1 2
B) 1 2 2003
C) 1 2 3 4 5
D) 1 2 3 4
Correct Answer:
Option B