Nahid Hossain

Nahid Hossain

Web Application & Software Developer

Hello World !

Hello World is the most basic computer program language which prints Hello World on display. It is used with almost all programming language to describe the basic output operation.

 

History of Hello, World!

It not a rule, but tradition; inherited from a 1974 Bell Laboratories memorandum, Programming in C: A Tutorial by Brian Kernigham. The first version was

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

But the very first instance of hello world was a bit different. In 1972, Kernighan’s The Programming Language B, using the following code

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

Variations

Hello, World, the spelling varies depending on the writer, programming documentation, instructors.Some languages are forced to implement different forms, such as HELLO WORLD!, on systems that only support capital letters, while many hello world programs in esoteric languages print out a slightly modified string. For example, the first non-trivial Malbolge program printed HEllO WORld, this having been determined to be good enough.

Some Example of Hello, World! in different language

<?php echo "Hello, World!"; ?>
#include<stdio.h>
main(){
   printf ("Hello World!\n");
}
using System;

public class HelloWorld
{
   public static int Main(string[] args)
   {
      Console.WriteLine("Hello, World!");
      return 0;
   }
}
class HelloWorld
{  
        public static void main(String args[])
        {
           System.out.println("Hello World!");
        }
}

 

 

Leave A Comment

Your email address will not be published. Required fields are marked *