I would suggest Kingo you used goto try using the return instead.

Instead of goto EXIT; write return 0;

goto is not a good programming practice.