C Programming MCQ

1:

Consider the following segment
char *a, *b, c[10], d[10];
a = b;
b = c;
c = d;
d = a;

choose the statements having errors

A.

no error

B.

a = b; and b = c;

C.

c = d; and d = a;

D.

a = b; and d = a;

 

Answer : C

Explanation :

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.