3 ms·
Would you say that an infinite loop has infinite lines of code?
by identity0 6y ago
Would you say that an infinite loop has infinite lines of code?
- yjftsjthsd-h 6y agoIt has infinite instructions, yes. (Well, "unbounded" or "endless", if we're being picky.)
- identity0 6y agoNo it doesn’t. It has finite instructions for the loop body, and then one jump instruction for the loop.