MCQ
Which of the following are used to declare 2D array ?
  • Array name and two pairs of [ ]
  • B
    Array type and array name
  • C
    Array name and two pairs of { }
  • D
    Array type and two pairs of { }

Answer

Correct option: A.
Array name and two pairs of [ ]
A

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free