Important MCQ

Output? for (int i = 1; i <= 3; i++) { for (int j = 1; j <= 3; j++) cout << i * j << " "; cout << endl; }

Q.Output? for (int i = 1; i <= 3; i++) { for (int j = 1; j <= 3; j++) cout << i * j << " "; cout << endl; }

A) 1 2 3 / 2 4 6 / 3 6 9
B) 1 1 1 / 2 2 2 / 3 3 3
C) 1 4 9 / 2 4 6 / 3 6 9
D) 1 2 3 / 1 2 3 / 1 2 3
Correct Answer:
Option A
Detailed Explanation:
Multiplication table style.