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.
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.
Below are some beginner exercises related to the C Language Hello World Program.
Programming Exercises and Solutions
- Sum of Two Numbers
- Perform All Arithmetic Operations – Addition, Substation, Multiplication, and Division | User input.
- Input/Output of All Basic Data Types.
- Print 1 to 100 Numbers
- Greatest of Three Numbers
- Print Even or Odd
- Area of Triangle – Mathematics based
- LCM and GCD of Two Numbers
- Find the Area of an Equilateral Triangle
- Print All the Odd Number Till ‘N’
- Swap Two Numbers Using 3rd Variable
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.