Hello World program in C language | C first program in VS Code

Published: 01 October 2021
on channel: Apna Code
25
1

Hello, World program in C language. Let's get started.

Here is the program for printing "Hello World" in C language.

1. Pre-processor
The #include is the first statement of any C program. It is known as a pre-processor.

2. Header file
So, when we say include stdio.h , it is to inform the compiler to include the stdio.h header file which is the standard I/O library into the program before executing the program.

3) The main() function is a function that must be there in every C program.

Everything inside this function in a C program will be executed, hence the actual logic or the code is always written inside the main() function.

4. The printf Function
The printf is a function that is used to print(show) anything on the console as output. This function is defined in the stdio.h header file, which we have included in our C program.


On this page of the site you can watch the video online Hello World program in C language | C first program in VS Code with a duration of hours minute second in good quality, which was uploaded by the user Apna Code 01 October 2021, share the link with friends and acquaintances, this video has already been watched 25 times on youtube and it was liked by 1 viewers. Enjoy your viewing!