Q. What will happen if the loop condition will never become false?

  • (A) Program will throw an error
  • (B) Program will loop infinitely
  • (C) Loop will not run
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) Program will loop infinitely
Explanation: An infinite loop in a program is a condition when the loop continues when the loop continues to run infinitely because the condition never becomes false.
Explanation by: Chandani
An infinite loop in a program is a condition when the loop continues when the loop continues to run infinitely because the condition never becomes false.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
398
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
80%
Success Rate