tell me the use of for in the following code?

for(;;) is a for loop declaration with:

  • no initialization code
  • no end-of-block expression
  • no terminating condition

So, it’s equivalent to while(true) – it’ll loop forever until a break inside it is encountered.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top