4 ms·for (i = 0; ; i++) if i is signed, this is undefined. You'd think it's just a loop though.by rhn_mk1 5y agofor (i = 0; ; i++) if i is signed, this is undefined. You'd think it's just a loop though.gjulianm 5y agoIt's pretty obvious by looking at that code that it's something weird going on. I don't think anyone would look at it and say "it's ok".mcguire 5y agoIn C, that is usually spelled while (1)rhn_mk1 5y agoIt's not that though. While(1) doesn't include a counter that overflows.Koshkin 5y agoThe classic way is actually for(;;)