#include #include using namespace std; int count=0 ; void function1() { int array1[100000] ; //printf( "Inside Function 1.\n" ) ; cout << "Inside Function 1." << ++count << endl ; cout.flush(); //sleep(1); } int main() { while( true ) function1() ; return 0 ; }