C PROGRAM STRUCTURE

#include <stdio.h>    
void main()
{    
printf("Learn2Done");    
}  

Explanation of the above syntax:

#include: it is a preprocessor directive that tells the compiler to include the file specified before compiling before compiling it.

<stdio.h>: includes the standard input output library functions. The printf() function is defined in stdio.h .

void: it is the return type of the function which is used to tell the compiler what kind of value the function will return, if we don’t want any value to be returned by the function we use void.

main(): The main() function is the entry point of every program in c language.

printf(): The printf() function is used to print data on the console.