What is "Hello, world!" & where it is used? by Programmics! - Programmics! - We Love to Code.
demo image

What is "Hello, world!" & where it is used? by Programmics!

Share This
Almost all of you must have heard or seen this statement that says Hello World!. Ever wondered what does this exactly means? Let's learn about it.

Hello World
Hello World

What is Hello World?

Hello world is a simple message displayed on the computer screen by a computer program with some simple codes in it. This program could be written in different languages and causes the computer to display a simple text message.

What is the use of the Hello world program?

This program is really simple and contains most commonly used basic codes of a programming language therefore given to new programmers to analyze its syntax and the way the program works.

Another use of this program is to check whether the programming language in which the code is written is correctly installed or not. Let's have a look at this program.

Hello World program written in C
Hello World program is written in C
This is how a basic Hello world program which is written in C looks like. This program was written by Brian Kernighan in his book Programming in C: A Tutorial.

How to run this program?

Finally, if you are even a bit interested in these programs, you must be thinking about how to write it on your own? If yes, let me tell you how to write it.

  1. You need to install a Run-Time Environment that could be of any programming language, for example, Java provides a run time environment. (I have briefly explained how to install Java into your PC by clicking here).
  2. Now, write your code in the language you have installed.
  3. Compile the program & run it in the installed environment or cmd.
  4. There you go, a message saying Hello world will be displayed on your screen.

 

Your Turn!

Now it's your turn, try writing your first-ever code in java. Share your experience with us.

Thanks for being here!

No comments:

Post a Comment