Description: Ever wondered how to write Hello World in some random programming language? Here we list examples of the Hello World program in various programming languages.
A "Hello world" program is a computer program that outputs "Hello World" (or some variant) on a display device. The first known version of this program comes from Brian Kernighan's paper A Tutorial Introduction to the Language B from 1972 (chapter 7). In it's first form it was used to show how to use external variables in B but since then it has become pretty much the standard example to show the very basic syntax and most simple program in any given programming language.
On this page you can find a bunch of source code examples in various programming languages. Here is a legend of how the page is built up:
Actual source code goes here... Click to expand and see source code