Print Hello World C Program

First C program to print hello world. Here we are providing many C program to print hello world.

/* Print Hello World */
#include<stdio.h
int main()
{
printf("Hello World!");
return 0;
}

Print Hello World using if loop

#include<stdio.h>
int main()
{
 int n=1;
if(n)
{
printf("Hello World");
return 0;
}

Print Hello World using while loop
#include<stdio.h>
int main()
{
    int n=1;
    while(n)
    {
        printf("Hello World");
        break;
    }
    return 0;
}



Popular posts from this blog