Vidyalelo
C Programming · Q239

Pointer

Programming · C Programming · question 239

Q239

Comment on the following two operations. int *a[] = 1, 2, 3, 1, 2, 3, 4; //- 1 int b[][] = 1, 2, 3, 1, 2, 3, 4; //- 2

A.
1 works, 2 doesn't
B.
2 works, 1 doesn't
C.
Both of them work
D.
Neither of them work
Answer

Answer: Option D

Solution

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