what is an empty loop?Give an example of it
Answers
Answered by
13
a loop which is infinite and will never stop
eg
for(;;)
{}
eg
for(;;)
{}
aakarsh09:
follow me if you liked my answer
Answered by
31
Hi....I'm Rajdeep...
An empty loop is a loop which does not have any updation or value of iteration.
For example, for(int i = 1;;) (in Java)
An empty loop is infinite.
An empty loop is a loop which does not have any updation or value of iteration.
For example, for(int i = 1;;) (in Java)
An empty loop is infinite.
Similar questions