6 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
Loading...
Next Question

Overall Stats

Attempted 178
Correct 24
Incorrect 57
Viewed 97

Answers

Guest
Guest
Singh Rajput
Singh Rajput - 5 months ago

Singh Rajput is saying goto can be used to jump,out of loop is correct answer

Deep
Deep - 9 months ago

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

Rafiqul Islam
Rafiqul Islam - 9 months ago

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

Aliva Raut
Aliva Raut - 10 months ago

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

indhuja indhuja
indhuja indhuja - 1 year ago

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

Related Questions

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

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

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

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