info@avatto.com
+91-9920808017
26. Which of the following comments about for loop are correct?
Index value is retained outside the loop and can be changed from within the loop
Body of the loop can be empty
go to can be used to jump. out of loop
All of the 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
27. Which of the following comments about for loop are correct?
Using break is equivalent to using a goto that jumps to the statement immediately following the loop
Continue is used to by-pass the remainder of the current pass of the loop
If comma operator is used, then the value returned is the value of the right operand
28. Choose the correct answers
for loops can be nested
Nested for loop can't overlap
Both (A) & (B)
None of the above
29. Consider the following program fragment if (a > b) if (b > c) s1 ; else s2; s2 will be executed if
a <= b
b > c
b <= c and a <= b
a > b and b <= c
30. If switch feature is used, then
default case must be present
default case, if used, should be the last case
default case, if used, can be placed anywhere
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