हिंदी

What is an infinite loop? - Computer Applications

Advertisements
Advertisements

प्रश्न

What is an infinite loop? 

What is meant by an infinite loop? 

संक्षेप में उत्तर

उत्तर

The statement within the body of a loop must ensure that the test condition for the loop eventually becomes false; otherwise, the loop will run infinitely. Hence, an infinite loop is called a loop that doesn’t end. This leads to a logical error in the program.

shaalaa.com
Introduction to Flow of Control - Repetition
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Flow of Control - Exercise [पृष्ठ १३९]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
अध्याय 6 Flow of Control
Exercise | Q 4. (i) | पृष्ठ १३९
अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.09 Iterative Constructs in Java
EXERCISES | Q V. 6. (i) | पृष्ठ १२४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×