Hello World Program in C

The “Hello World” is a program that helps you to learn any programming language. It is the simplest program to learn first.

Hello World Program

#include <stdio.h>
int main() {
   // printf() Displays the text inside quotes
   printf("Hello, World!");
   return 0;
}

Output

Hello World

Hello World Program Working in C Language

  • #include – It helps to include the different libraries in the program.
  • <stdio.h> – It helps to use the print() and scanf() functions in the program.
  • int main() – This is where you write the main code of your program.
  • return 0 – It defines the program’s exit status.

Leave a Comment