info@avatto.com
+91-9920808017
36. The following statement if (a > b) if (c > b) printf("one"); else if (c == a) printf('two'); else printf("three"); else printf("four");
results in a syntax error
prints four in c <= b
prints two if c <= h
prints four in a <= 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
37. Code in the previous question can never print
one
two
three
four
38. The following program fragment int x = 4, y = x, i; for (i = 1; i < 4; ++i) x += x; outputs an integer that is same as
8 * y
y * (1 + 2+ 3 + 4)
y * 4
Y * Y
39. Using goto inside for loop is equivalent to using
continue
break
return
none of the above
40. The following program fragment int x[5][5], i, j; for (i = 0; i < 5, ++i;) for(j = 0; j < 5 ; j++) x[i][j] = x[j][i];
transposes the given matrix x
makes the given matrix x, symmetric
doesn't alter the matrix x
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