adplus-dvertising
frame-decoration

Question

The statement int num[2][3]={ {1,2}, {3,4}, {5, 6} };

a.

assigns a value 2 to num[1][2]

b.

assigns a value 4 to num[1][2]

c.

gives an error message

d.

assigns a value 3 to num[1][2]

Answer: (c).gives an error message

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The statement int num[2][3]={ {1,2}, {3,4}, {5, 6} };