Assume the following C variable declaration int *A [10], B[10][10]; Of the…
GATE · 2003 · CS
Assume the following C variable declaration
int *A [10], B[10][10];
Of the following expressions :
A[2]
A[2][3]
B[1]
B[2][3]
which will not give compile-time errors if used as left hand sides of assignment statements in a C program?
- A.
I, II, and IV only
- B.
II, III, and IV only
- C.
II and IV only
- D.
IV only
Attempted by 328 students.
Sign up free to check your answer
Sign up freeLoading lesson…