First Simple Program in C Language



Program to print Hello World

This Program prints a simple statement. Whatever given within the double quotes inside the printf() statement is print as such. printf() is a library function to send formatted output to the screen.

HelloWorld.c

#include<stdio.h>
 
// First Program to print Hello World
int main()
{
	printf("Welcome to Hello World!");
	return 0;
}

Output

Welcome to Hello World!



Leave a Reply

Your email address will not be published. Required fields are marked *