info@avatto.com
+91-9920808017
31. The switch feature
can always be replaced by a nested it-then-else clause
enhances logical clarity
can't always be replaced by a nested if-then-else clause
Both (A) and (B)
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
32. Break statement can be simulated by using
goto
return
exit
any of the above features
33. The following program fragment if (2 < 1) ; else x = (2 < 0) ? printf("one") : printf("four"); printf ("%d", x);
prints nothing
results in a syntax error
prints four 0
none of the above
34. Consider the following program fragment if (a>b) printf("a>b"); else printf("else part"); printf("a<=b"); a<=b will be printed if
a>b
a<b
a==b
Both (B) and (C)
35. The body of the following for loop for( putchar( 'a' ); putchar (0); putchar (' c ') ) putchar ( 'b') ; will be executed
0 times
1 times
infinitely many times
will not be executed because of syntax error
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