A

Admin • 802.91K Points
Coach

Q. Which condition will make this loop run forever?
while(?)

  • (A) i > 0
  • (B) true
  • (C) i != 0
  • (D) false

Explanation by: Admin
while(true) will cause the loop to run forever unless a break occurs.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.