C Programming MCQ

1:

If n has the value 3, then the statement

a [++n] = n++ ;

A.

assigns 3 to a [5]

B.

assigns 4 to a [5]

C.

assigns 4 to a [4]

D.

what is assigned is compiler-dependent

 

Answer : D

Explanation :

mayank said: (9:13am on Wednesday 8th May 2013)
what depends on compiler.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.