If abc is the input, then the following program fragment
char x, y, z ;
printf ("% d" , scanf ("%c%c%c" , &x , &y , &z )) ;
results in
A. | a syntax error |
B. | a fatal error |
C. | segmentation violation |
D. | printing of 3 |
Answer : D Explanation :
take refrence from below. HIFZURRAHAMAN said: (12:08am on Tuesday 27th December 2016)
after running the program the output is obtained: -1
|
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |