Question discussion

Which of the following for loops will be an infinite loop?

282833Medium 1 reply 1,824 views
15
Which of the following for loops will be an infinite loop?
  • Afor(; ;)
  • Bfor(i=0 ; i<1; i--)
  • Cfor(i=0; ; i++)
  • DAll of the above
Correct answer: D

Discussion 1

0
CCommunity
All of the above