In this tutorial, we will learn how to write hello world program in c language. The extension of C language program is .C.
Header files in C language are those files, which contains functions, macros, variables etc. The extension of header files is .h. we include these header files using #include. # is pre-processor directives.
stdio.h is standard input output header file which contains the input output functions which we can use inside c language program like printf, scanf etc.
printf() function is used to print on screen. This function is already included in stion.h header file.
We will start program using main() method. Main() is basically start up method from where c language compiler starts execution.
#include<stdio.h>
void main(){
printf("Hello World!! How are you today");
}
Figure 1