• Facebook
  • Linkedin
Profile
Nahid

Nahid Hossain

Web Application & Software Developer

  • Blog
  • Science & Technology
  • Coding & Scripting

2010.10.27

Coding & Scripting 2

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!");
        }
}

By Nahid Hossain
Share this Story:
  • Twitter
  • Facebook
  • Google+

Comments(2)

  1. Shamsher Morshed
    February 21, 2011

    Hi, this is Morshed. I have seen your site, information you have post is wonderful. expect more useful information will be in site.

  2. Nahid
    February 21, 2011

    Thank you Morshed.Nice to meet you . . .

Leave a comment

Comment

Categories

  • Science & Technology
    • Computer Networks
    • Coding & Scripting
      • HTML5
    • Information Technology
      • Internet
    • Invention
    • Mobile Phone
  • Countries
    • Bangladesh
  • Review
  • Entertainment
  • International
  • Miscellaneous

Recent Posts

  • An introduction to SVG format: its benefits and uses

    1. March 15, 2016
    2. Coding & Scripting
  • Lesson 1 - Text in SVG

    1. March 23, 2016
    2. Coding & Scripting
  • Lesson 2: Drawing shapes in SVG

    1. March 28, 2016
    2. Coding & Scripting

Recent Comments

  • Atiq: SCB's interest rates are not competitive. Their ch...
    1. August 07, 2013
  • Jeanine House: I hope you can help me we are looking for someone ...
    1. August 08, 2013
  • ibrahim: India never become friend of bangladesh 1971 they ...
    1. September 09, 2013
© 2021 www.akmnahid.com All Rights Reserved