Simple C Program to Print Hello World

Simple C Program to Print Hello World

How to write a simple C program to print Hello World? This is very basic code for a beginner.Basically from this code we start our coding journey.

Print Hello World in C :


#include<stdio.h> 

int main()
{

    printf("Hello world");
    
    return 0;
}

Output :