C Hello World Program

The “Hello, World!” program is often the first program written when learning a new programming language. Its main task is to output the message “Hello, World!” to the screen in the C program.

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.

Our Data Science Courses Duration and Fees

Program Name
Start Date
Fees
Cohort starts on 11th Jan 2025
₹65,037
Cohort starts on 18th Jan 2025
₹65,037
Cohort starts on 11th Jan 2025
₹65,037

About the Author

Technical Research Analyst - Full Stack Development

Kislay is a Technical Research Analyst and Full Stack Developer with expertise in crafting Mobile applications from inception to deployment. Proficient in Android development, IOS development, HTML, CSS, JavaScript, React, Angular, MySQL, and MongoDB, he’s committed to enhancing user experiences through intuitive websites and advanced mobile applications.