C Programming MCQ

1: If abc is the input, then folloiwng program fragment char x,y,z; printf("%d",scanf("%c%c%c",&x,&y,&z)); results in
A. A syntax error
B. Garbage Values
C. Segmentation violation
D. Printing of 3
 

Answer : D

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.