3 ms·
for (;;) printf("9");
by CamperBob 16y ago
for (;;) printf("9");
- alain94040 16y agoYou forgot to put a atoi() call around your function :-)
- jey 16y agoMore importantly, it doesn't terminate, so it's not a valid entry.
- alain94040 16y agoDo we need to explain every joke? Of course it doesn't finish. But its output is still very well defined: an infinite string of 9... So my argument was that in a suitable language, I should be able to call atoi() on that string. I concede this hypothetical language would be somewhat abstract. Maybe it's called maths?
- deleted 16y ago[deleted]