Use of exit() function

Try using exit(0); instead. The exit function expects an integer parameter. And don’t forget to #include <stdlib.h>.

Leave a Comment