C | Arrays | Question 6

Last Updated :
Discuss
Comments
Assume the following C variable declaration C
 int *A [10], B[10][10];  
Of the following expressions I A[2] II A[2][3] III B[1] IV B[2][3] which will not give compile-time errors if used as left hand sides of assignment statements in a C program (GATE CS 2003)?
I, II, and IV only
II, III, and IV only
II and IV only
IV only
Tags:
Share your thoughts in the comments