Infinite Loop

Apparently this gives an infinite loop:

#include <iostream>
using namespace std;

int main() {
int i = 0;
for ( ; ; ) {
cout << i++;
cout << "n";
}
return 0;
}

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.