info@avatto.com
+91-9920808017
46. Printf("%d"printf("tim"));
Result in a syntax error
Outputs tim3
Outputs garbage
Prints tim and terminate abruptly
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
47. 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 syntax error
Garbage Values
Segmentation violation
Printing of 3
48. What does the statement, printf("%d",10?0?5:1:12); prints :
10
5
12
1
49. Result of the execution of the following "C" program fragment is int i= 107,x =5; printf((x>7)?"%d";"%c";i))
An execution error
Printing of k
Garbage Value
50. Find the output of the following : for (i=1,j=10;i
1 1 0 2 9 3 8 4 7 5 6
1 2 3 4 5 1 0 9 8 7 6
1 1 1 1 1 9 9 9 9 9
Infinite Loop
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login