Quickest infinite loop?

Posted by drigoSkalWalker on Stack Overflow See other posts from Stack Overflow or by drigoSkalWalker
Published on 2010-06-06T23:31:18Z Indexed on 2010/06/06 23:42 UTC
Read the original article Hit count: 179

Filed under:

There are many ways to do a infinite loop, some like:

while (1)
for(;;)
'tail recursion'
do ... while (1)
label ... gotolabel

So, which infinite loop is quickest than other? Is there any way to do a infinite loop without check?

© Stack Overflow or respective owner

Related posts about c