Vidyalelo
C Programming · Q118

Pointer

Programming · C Programming · question 118

Q118

Which of the following declaration are illegal?

A.
int a[][] = {{1, 2, 3}, {2, 3, 4, 5}};
Answer
B.
int *a[] = {{1, 2, 3}, {2, 3, 4, 5}};
C.
int a[4][4] = {{1, 2, 3}, {2, 3, 4, 5}};
D.
none of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board