MCQ
Which of the following is an invalid array declaration?
  • A
    char namel 1 {‘A’, 'b', 'c', ‘\0'};
  • B
    int number! = {1, 1, 1, 1};
  • int n1 [ ] = {{1, 1}. {2 2}, {3, 3}};
  • D
    None of the given

Answer

Correct option: C.
int n1 [ ] = {{1, 1}. {2 2}, {3, 3}};
c

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