S
Shraddha
for( ; ; );
printf("Hi");
printf("Hi");
for( ; ; );
printf("Hi");
for( ; ; );
printf("Hi");
Even better is:James said:It does nothing, and tekes forever to do it.
In many shops, putting a semicolon on the same line, after the
for, will also get you fired. If you want to write an empty
loop, at least put the empty statement on the following line,
either:
for ( /* ... */ )
;
Even better is:
for ( /* ... */ )
/* do nothing */ ;
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.