Vidyalelo
Computer Science · Q383

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 383

Q383

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
Answer
D.
assigns a value 3 to num[1][2]

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board