Top

Discussion

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

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment