Can a for statement loop indefinitely?

Q

Can a for statement loop indefinitely?

✍: Guest

A

Yes, a for statement can loop indefinitely. For example, consider the following: for(;;) ;

2012-10-09, 2230👍, 0💬