A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Assume the following C variable declaration

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?
a. I, II, and IV only
b. II, III, and IV only
c. II and IV only
d. IV only
Answer:I, II, and IV only
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: