An infinite loop is a looping construct that does not terminate and executes the loop forever. It is also called an indefinite loop or an endless loop . It either produces a continuous output or no output. When to use an infinite loop An infinite loop is useful for those applications that accept the user input and generate the output continuously until the user exits from the application manually. In the following situations, this type of loop can be used: All the operating systems run in an infinite loop as it does not exist after performing some task. It comes out of an infinite loop only when the user manually shuts down the system. All the servers run in an infinite loop as the server responds to all the client requests. It comes out of an indefinite loop only when the administrator shuts down the server manually. All the games also run in an infinite loop. The game will accept the user requests until the user exits from the game. We can create an infinite loop through various lo
EST 102 Programming in C Theory and Lab-KTU FIRST YEAR 2019 scheme - Dr.Binu V P, 9847390760