Article From:


Let’s take HelloWorld as a simple example. The program prints a line of text at the terminal:Hello World! 

The code is as follows:

#include <stdio.h>

int main(){
    printf("Hello World!\n");

1)  #include <stdio.h> :

Preprocessing part;

2) int main(){} :

The main function of the program.

Leave a Reply

Your email address will not be published. Required fields are marked *