Flat 10% & upto 40% off + 10% Cashback + Free additional Courses. Hurry up

Hello Program in C


A C program basically consists of the following parts:

  • Preprocessor Commands
  • Functions
  • Data types
  • Variables
  • Statements & Expressions
  • Comments

Hello Program in C

Open C console and write the following code:

#include <stdio.h>

#include <conio.h>

void main()



printf("Hello C ");



Now click on the compile menu to compile the program. And then click on the run menu to run the c program.


Hello C

#include <stdio.h> – It is used to include the standard input output library functions. The printf() function is defined in stdio.h .

#include <conio.h> – It is used to include the console input output library functions. The getch() function is defined in conio.h file.

void main() – The main() function is the entry point of every program in c language. The void keyword indicates that it returns no value.

clrscr() – This function is used to clear the previous output from the console.

printf() – The printf() function is used to print data which is specified in the brackets on the console.

getch() – This function requests for a single character. Until you press any key it blocks the screen.

"0 Responses on Hello Program in C"

100% Secure Payments. All major credit & debit cards accepted Or Pay by Paypal.

Sales Offer


Sign Up or Login to view the Free Hello Program in C.