what are endless loops
Answers
Answered by
6
Answer:The loops which do not terminate and keep on executing are known as infinite loops.
Explanation:
They can occur in the absence of a terminating condition. For example-
Dim n,i as integer
n=1
For i = 1 to n
print i
n=n+1
next i
Here, since the value of n keeps increasing the loop will not terminate and keep on going.
Answered by
7
Answer:
Alternatively refers to as an infinite loop or continuous loop , an endless loop is continuous repetition of a program segment .
For example = When creating a batch file , an endless loop can be created by using the GOTO statement that refers back to the beginning of the loop.
Hope it helps you.....
if helps mark me as a brainliest answer.......
Similar questions
English,
7 months ago
Math,
7 months ago
Hindi,
7 months ago
Political Science,
1 year ago
Math,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago