C Program to Print Hello World

In programming world, learning programming language starts with writing simple program that prints Hello, World!. It's kinda convention!! You can print anything you want. In this program we are going to learn how to print some message in C programming language.

C Source Code: Display "Hello, World!"


#include<stdio.h>
#include<conio.h>

int main()
{
	clrscr(); /* Clears Screen */
	printf("Hello, World!");
	getch();  /* Holds the output */
	return 0;
}

--------------------------------
				OR
--------------------------------
#include<stdio.h>
#include<conio.h>

void main()
{
	clrscr(); /* Clears Screen */
	printf("Hello, World!");
	getch();  /* Holds the output */
}

Output of above program :

	
Hello, World!	

Never stop learning! Now check this example: C Program to Add Two Numbers