The History of “Hello World”

Almost all of you who have studied even a little bit of programming must identify these words “hello world”. I am pretty sure the first program you read printed these words on the screen.

The first known instance of the usage of the words “hello” and “world” together in computer literature occurred earlier, in Kernighan’s 1972 Tutorial Introduction to the Language B, with the following code:


main( ) {
extrn a, b, c;
putchar(a); putchar(b); putchar(c); putchar('!*n');
}
a 'hell';
b 'o, w';
c 'orld';

Then it was used as the first program in the famous book “The C programming Language” by Kernighan and Ritchie.
The code is below :

main() {
printf("hello, world
");
}

For a detailed information on Hello World programs check out this link on wikipedia

It’s not necessary to have a big thing to make history !!!

Tagged as:  ·

Leave a Comment