Infinite Loops

Q

How can you write a loop indefinitely?

✍: FYIcenter

A

Two examples are listed in the following code:

   for(;;) {
      ...
   }
   while(true) {
      ...
   }

2007-03-03, 5899👍, 0💬