DEV Community

Iano Njuguna
Iano Njuguna

Posted on

Answer: Use of exit() function

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

Top comments (0)