Hello World Program

Below is a simple program printing Hello World in C language.

printf() is a system defined function under the header file stdio.h, used to print data onto the screen

\n is used to move the control onto the next line

\t is used to give a horizontal tab i.e. continuous five spaces

#include <stdio.h>

int main()
{
    printf("\n\n\t\tStudytonight - Best place to learn\n\n\n");
    int num;
    printf("\nHello world!\nWelcome to Studytonight: Best place to learn\n");
    printf("\n\n\t\t\tCoding is Fun !\n\n\n");
    return 0;
}

Output:

Hello World Program in C language