Home » Blog » Printing Hello World In C

Printing Hello World In C

Here, the C program prints “Hello World!” in the output window. And, all syntax and commands in C programming are case sensitive. Also, each statement should be ended with semicolon (;) which is a statement terminator.

Here, stdio.h is header file that contains all standard libraries for input and output.

#include<stdio.h>
#include<conio.h>
void main()
{
   clrscr();
   printf("Hello World!");
   getch();
}

OutPut :

Hello World!

 

1 thought on “Printing Hello World In C”

Leave a Reply

Your email address will not be published.