// 1.主函数 main 程序入口
#include <stdio.h> // printf是库函数 需要引用库文件
// 工程中只能包含一个main 主函数
int main() //main是主函数名 int是返回值类型 int=整数型
{
// 打印helloworld
// 打印两行
printf("helloworld\n");//转义字符换行
printf("helloworld2");
return 0;
//ctrl+F5 运行
}
C语言基础 01 - 打印helloworld
最新推荐文章于 2024-05-28 14:35:23 发布