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、运行程序看看运行结果

阅读量:182
阅读量:32
阅读量:55
阅读量:182
阅读量:148