Friday, January 11, 2013

C Language Example # 01 Hello World

C Language Example # 01  

Hope you have Learn the basic concept of C Language, Now Lets start with some basic programs.

Very first program of C Language is called as Hello World Program or Explain printf() using example.

C Language Code:

//Written by Latest Technology Guide     
//Title : Example 01 : Hello World Using C Language or printf() with example.
   
#include <stdio.h>
#include <conio.h>
void main()
{
    clrscr();

    printf("Hello World....\n");

    getch();
}


Output (Note: First Two lines are comment lines):

Hello World....

Note: All programs are developed and tested using Turbo C++ 3.0 under Windows XP. We just want to provide guidelines to the users. If you are using any other Compiler or other operating system they you need to modify this program as per your requirements. 

No comments:

Post a Comment