Write an infinite loop using while.
Answers
Answered by
1
Explanation:
while loop represents the infinite condition as we provide the '1' value inside the loop condition. As we already know that non-zero integer represents the true condition, so this loop will run infinite times. We can also use the goto statement to define the infinite loop.
pls mark as brainliest
Answered by
2
Explanation:
while loop represents the infinite condition as we provide the '1' value inside the loop condition. As we already know that non-zero integer represents the true condition, so this loop will run infinite times. We can also use the goto statement to define the infinite loop.
...
- while loop
- while(1)
- {
- // body of the loop..
Similar questions