What does the term “empty loop” refer to exactly in C and C++?

Your first case (for with empty expressions) is an infinite loop and the second one (with empty body of the for statement) is an empty loop

Leave a Comment