Q:

Which of the following declaration are illegal?

0

Which of the following declaration are illegal?


  1. int *a[] = {{1, 2, 3}, {2, 3, 4, 5}};
  2. int a[][] = {{1, 2, 3}, {2, 3, 4, 5}};
  3. Both A and B
  4. None of the above

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

int a[][] = {{1, 2, 3}, {2, 3, 4, 5}};

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now
<< a?b is syntactically correct if...