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

Pubblicato il: 01 ottobre 2021
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Hello World program in C language | C first program in VS Code della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Apna Code 01 ottobre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 25 volte e gli è piaciuto 1 spettatori. Buona visione!