Hello World Program in C – My First Program

1
115
Hello World in C

Write a Hello World Program in C language, this is a first program to written by coders of any language, it doesn’t matter that 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 Code Solution and Output

My answer is to print the message on the console, at the time I used 32-bit turbo c, to learn c language. After that I moved to dev-c++, this is the fast and easy, that is the reason I am using dev-c++ editor til today.

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

C Program to Print Hello World

#include <stdio.h>

int main()
{
    printf("Hello, World!\n");

    return 0;
}

The output of the Above Code

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

Programming Exercises and Solutions

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here