5 years ago in C Control Structure

# Which of the following comments about for loop are not correct?

[A] Index value is retained outside the loop
[B] Index value can be changed from within the loop
[C] goto can be used to jump,out of loop
[D] Body of the loop can not be empty

## Overall Stats

Attempted 163
Correct 24
Incorrect 56
Viewed 83

Deep - 1 month ago

Deep from Kolkata, India is saying Body of the loop can not be empty is correct answer

Rafiqul Islam - 2 months ago

Rafiqul Islam is saying Index value can be changed from within the loop is correct answer

Aliva Raut - 2 months ago

Aliva Raut is saying Index value can be changed from within the loop is correct answer

indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying Index value can be changed from within the loop is correct answer

Vamsi Krishna - 8 months ago

Vamsi Krishna from Visakhapatnam, India is saying Index value can be changed from within the loop is correct answer

## Related Questions

### Break statement can be simulated by using ?

• [A] goto
• [B] return
• [C] exit
• [D] any of the above statement

### In a for loop, if the condition is missing,then?

• [A] it is assumed to be present and taken to be false
• [B] it is assumed to be present and taken to be true
• [C] it result in the syntax error
• [D] execution will be terminated abruptly

### Which of the following comment about for loop are correct?

• [A] Using break is equivalent to using a goto that jumps to the statement immediately following the loop
• [B] Continue is used to by pass the remainder of the current pass of the loop
• [C] if comma operator is used,then the value returned is the value of the right operand
• [D] All of above

### Choose the correct statement

• [A] 0 represent a false condition
• [B] Non zero value represent a false condition
• [C] 1 represent a false condition
• [D] Anything that is not 1, represents a false condition

### In a for loop, if the condition is missing, then infinite looping can not be avoided by a

• [A] Continue statement
• [B] goto statement
• [C] return statement
• [D] break statement