info@avatto.com
+91-9920808017
21. The following program main() { int i = 2; { int i = 4, j = 5; printf ("%d%d", i, j ); } printf("%d%d", i, j ); }
will not compile successfully
prints 4525
none of above
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
22. printf("ab", "cd", "ef"); prints
ab
abcdef
abcdef, followed by garbage
23. main( ) ( int a = 5, b = 2; printf("%d", a+++b); }
results in syntax error
prints 7
prints 8
24. A possible output of the following program fragment static char wer [ ] [5] = { "harmot", "merli", "axari" }; printf({"%d%d%d", wer, wer[0], &wer[0][0]); is
262164 262164 262164
262164 262165 262166
262164 262165 262165
262164 262164 262165
25. The following program main( ) { printf ("%u", main); } results in
printing of a garbage number
an execution error
printing of starting address of the function main
an 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