第9.1 小节代码 显示双关语改进版
//This is a comment
//Author:King
//Time:2020/12/6
//Reference:C Programming:A Modern Approach,Second Edition
/***************************************************************
9.1 小节代码 显示双关语改进版
****************************************************************/
#include <stdio.h>
//#include <stdbool.h> // C99 only
//#include <time.h>
//#include <stdlib.h>
void print_pun(void)
{
printf("To C,or not to C: that is the question!\n");
}
int main(void)
{
print_pun();
system("pause"); //加入该函数后可以使得产生的exe单独运行,不会发生闪退。也可以加入其它函数使得main函数无法返回即可。如while(1)、getchar() 等
return 0;
}