Do you know that? 46% of freelancers typically work for a client for one year or longer next

Can a for statement loop indefinitely?

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