C语言1.1小练习-请打印出下列内容 hello, world
一、在Linux模式下,通过vim创建.c文件

二、编写.c文件:
#include <stdio.h>
/*
* print helloWorld
* */
main()
{
printf("hello World\n");
}
三、编译.c 文件
cc ./hello.c

编译后,同路径下会生成一个a.out文件

四、运行a.out 文件

运行文件后,会在屏幕中打印出hello World
一、在Linux模式下,通过vim创建.c文件

二、编写.c文件:
#include <stdio.h>
/*
* print helloWorld
* */
main()
{
printf("hello World\n");
}
三、编译.c 文件
cc ./hello.c

编译后,同路径下会生成一个a.out文件

四、运行a.out 文件

运行文件后,会在屏幕中打印出hello World