Home / Report Question

Q. Identify the infinite loop.
  • A. for(int i = 0; i < 1; i--)
  • B. for(; ;)
  • C. for(int i = 0; ;i++)
  • D. All of the above

Correct Answer: D