Examveda

How do you access the element at the second row and third column of a two-dimensional array named 'matrix' in C++?

A. matrix(3, 2)

B. matrix[3][2]

C. matrix(2, 3)

D. matrix[2][3]

Answer: Option D


Join The Discussion

Related Questions on Arrays and Strings in C plus plus