Vidyalelo
C Programming · Q141

Pointer

Programming · C Programming · question 141

Q141

Which of the following declaration is illegal?

A.
int a = 0, b = 1, c = 2;
int array[3] = {a, b, c};
B.
int size = 3;
int array[size];
C.
int size = 3;
int array[size] = {1, 2, 3};
Answer
D.
All of the mentioned

Answer: Option C

Solution

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