C 中exit如何用法
来源:网络收集 点击: 时间:2024-02-13【导读】:
C 中exit如何用法工具/原料morevc方法/步骤1/7分步阅读
2/7
3/7
4/7
5/7
6/7
7/7
首先添加stdio.h

添加#include stdlib.h

然后添加main函数

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

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

然后添加
printf(End of the program....\n);
return(0);

运行程序看看运行结果

版权声明:
1、本文系转载,版权归原作者所有,旨在传递信息,不代表看本站的观点和立场。
2、本站仅提供信息发布平台,不承担相关法律责任。
3、若侵犯您的版权或隐私,请联系本站管理员删除。
4、文章链接:http://www.1haoku.cn/art_36954.html