C 中exit如何用法
1、首先添加stdio.h

2、添加#include <stdlib.h>

3、然后添加main函数

4、然后添加printf("Start of the program....\n");

5、然后添加printf("Exiting the program....\n"); exit(0);

6、然后添加printf("End of the program....铳曹扑钜\n"); return(0);

7、运行程序看看运行结果

1、首先添加stdio.h

2、添加#include <stdlib.h>

3、然后添加main函数

4、然后添加printf("Start of the program....\n");

5、然后添加printf("Exiting the program....\n"); exit(0);

6、然后添加printf("End of the program....铳曹扑钜\n"); return(0);

7、运行程序看看运行结果
