what are the different types of endless loopsan


What are the different types of endless loops?

An endless loop can be of two types:

i.) A loop that is intentionally designed to go round and round until the condition within loop is met. Once condition is met, a break function gets program out of the loop.

ii.) A loop condition written by mistake, causing loop to run erroneously forever. Endless loops are also referred to as infinite loops.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: what are the different types of endless loopsan
Reference No:- TGS0355026

Expected delivery within 24 Hours