MCQ
Which statement is used to assign value 56 to the fourth element of an array named ‘m’?
  • m [3] = 56;
  • B
    m [4] =56;
  • C
    m (3) =56;
  • D
    m (4) = 56;

Answer

Correct option: A.
m [3] = 56;
m [3] = 56;

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