Array in C++ Array in C++ MCQ Details
MCQ Practice Single Best Answer Topic: Array in C++

Q A two-dimensional array is also called

Question ID
#24498
Subchapter
Array in C++
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A Single array
  • B Pointer array
  • C Matrix
  • D String
Correct Answer: C

Explanation

Answer: C

A two-dimensional array in C++ stores data in the form of rows and columns, just like a table.

Because of this row–column structure, a two-dimensional array is commonly referred to as a matrix.

Why other options are incorrect

  • A) Single array
    A single array refers to a one-dimensional array, not a 2D array.

  • B) Pointer array
    A pointer array is an array of pointers, which is different from a 2D array.

  • D) String
    A string is a character array, not necessarily two-dimensional.

Share This Question

Share this MCQ with your friends or study group.