Programming Languages C++ Objective
Mar 18, 2013

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

Choose the correct answer:
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]
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback