@shizzle08 :

Why do both your programs end with "return main();" ?
That will let your program fall into an infinite loop and you have to manually break your program's execution.

If you wanted to repeat the portion inside main(), then you can use some other techniques like while(<some condition>) or for(<something else>) etc... and always return 0;
shizzle08 like this