I want to know how and when can I use the exit() function like the program in my book:
exit()
#include void main() { int goals;
Write header file #include and replace exit(); with exit(0);. This will definitely work in Turbo C; for other compilers I don't know.
#include
exit();
exit(0);