Array in C++ Array in C++ Question #24498
MCQ Single Best Answer Moderate

QA two-dimensional array is also called

ID: #24498 Array in C++ 30 views
Question Info
#24498Q ID
ModerateDifficulty
Array in C++Topic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Single array
  • B Pointer array
  • C Matrix
  • D String
Correct Answer: Option 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

Challenge a friend or share with your study group.