info@avatto.com
+91-9920808017
11. Which is true of conditional compilation?
it is taken care of by the compiler
it is taken care of by the pre-processor
it is compiling a program based on a condition
both (B) & (C)
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
12. Consider the following program fragment char c = ' a '; while ( c++ <= ' z ') putchar ( xxx ); If the required output is abcdefghijklmnopqrstuvwxyz, then xxx should be
c
c++
c-1
-c
13. Choose the statements that are syntactically correct
/* Is /* this a valid */ comment */
for ( ; ; ) ;
return;
14. The following program fragment for(i = 3 ; i < 15; i += 3); printf(" %d ", i); results in
a syntax error
an execution error
printing of 12
printing of 15
15. The following program fragment for (i = 1; i< 5; ++ I ) if ( i == 3) continue; else printf( " %d " i ); results in the printing of
1 2 4 5
1 2 4
2 4 5
none of the above
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