#include <stdio.h>
//ctrl+j 提示
void main() //主函数
{
printf("helloworld");
//打印
getchar(); //char 字符
//等待键盘的输入
}
\n 输出换行符
%d 输出int 整型
%f 输出float 浮点型
%s 输出string 字符串
#include <stdio.h>
//ctrl+j 提示
void main() //主函数
{
printf("helloworld");
//打印
getchar(); //char 字符
//等待键盘的输入
}
\n 输出换行符
%d 输出int 整型
%f 输出float 浮点型
%s 输出string 字符串