Infinite For Loop
#include <stdafx.h>
#include <iostream>
using namespace std;
int main()
{
cout<< "Infinite For Loop Eample" << endl;
for(;;)
{
cout<< "Hello World..!!" << endl;
}
return 0;
}
Output:
Hello World..!!
Hello World..!!
Hello World..!!
Hello World..!!
Hello World..!!
Hello World..!!
Hello World..!!
Hello World..!!
.................
.................