Hello World in C

[Source Code] Hello World Program in C- First Program in C

Write a Hello World Program in C Programming language. This is the first program to be written by coders of any language, it doesn’t matter whether you are learning C, C++, Java, and python. I am sure I start to learn by printing HelloWorld in the C programming language.

Here I am asking you what was the first program you have written in any programming language.

Hello World Program in C Programming Language
Hello World Program in C Code

My answer is to print the message on the console, at the time I used 32-bit Turbo C, to learn the C language. After that I moved to Dev-C++, which is fast and easy, that is the reason I am using the dev-c++ editor until today. I mostly prefer coding on projectors for a wide viewing angle.

Here is another question, what code editor do you use for C, C++, Java or any other programming language? Comment on your favourite editor and why you use it. Find Hacker Rank Solution of “Hello, World in C, C++, and Java” programming language

Source Code: Hello World Program in C

#include <stdio.h> 
int main() 
{ 
printf("Hello, World!\n"); 
return 0; 
}

Hello World in C Code Output

Here is an output of the programming problem, All the programs are tested in Dev-C++ editor version 5.11.

Hello World in C Code Output

Below are some beginner exercises related to the C Language Hello World Program.

Programming Exercises and Solutions

I hope you like the Hello World Program in C, and I think now you have the Idea why this is called the first program in C programming.

1 thought on “[Source Code] Hello World Program in C- First Program in C”

Comments are closed.