Use of exit() function

后端 未结 13 1412
离开以前
离开以前 2020-11-30 23:34

I want to know how and when can I use the exit() function like the program in my book:

#include

void main()
{
    int goals;
            


        
13条回答
  •  萌比男神i
    2020-11-30 23:47

    You must add a line with #include to include that header file and exit must return a value so assign some integer in exit(any_integer).

提交回复
热议问题