Write a hello word in C language

Here is an example of a "Hello, World!" program in C language:

#include <stdio.h>

int main() { printf("Hello, World!\n"); return 0; }

Note that in C language, you need to use the #include command to include the header file stdio.h in order to use the printf function to output strings.

Guess you like

Origin blog.csdn.net/weixin_42601702/article/details/129575613