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

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:155
阅读量:128
阅读量:65
阅读量:119
阅读量:35