write a program for creation of infinite loop using for loop(pls be original and i want whole code)
Answers
Answered by
0
An infinate loop is a looping construct that does not terminate the loop and executes the loop forever. It is also called an indefinate loop or an endless loop. It either produces a continious output or no output.
We can create an infinite loop through various loop structures. The following are the loop structures through which we will define the infinite loop.
1. For loop
2. While loop
3. Do while-loop
4. Go to statement
5. C macros
for(;;)
{
// body of the for loop
}
Similar questions