• Articles
  • Tutorials
  • Interview Questions

Hello, World! in C Programming

Tutorial Playlist

Through this section of the C tutorial, you will learn how to write a “Hello World” program in C.

Hello World Program in C

Open the C compiler and write the following code:

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

Now click on the compile menu to compile the Hello World program in C. And then click on the run menu to run the C program.
Output:-

Hello World

Certification in Full Stack Web Development

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

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

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

If you want to know about Keywords and Comments in C, refer to our C programs blog!

Course Schedule

Name Date Details
Python Course 20 Apr 2024(Sat-Sun) Weekend Batch
View Details
Python Course 27 Apr 2024(Sat-Sun) Weekend Batch
View Details
Python Course 04 May 2024(Sat-Sun) Weekend Batch
View Details

Full-Stack-ad.jpg