C 中exit如何用法

时间:2024-10-12 03:25:39

1、首先添加stdio.h

C  中exit如何用法

3、然后添加main函数

C  中exit如何用法

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

C  中exit如何用法

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

C  中exit如何用法
© 长短途