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

Publié le: 01 octobre 2021
sur la chaîne: 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.


Sur cette page du site, vous pouvez voir la vidéo en ligne Hello World program in C language | C first program in VS Code durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Apna Code 01 octobre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 25 fois et il a aimé 1 téléspectateurs. Bon visionnage!