Friday, 20 July 2012

The First C Program:

Hello World
Code:
#include<conio.h>
#include<stdio.h>
void main()
{
  clrscr();
  printf("Hello Friends Lets start Programming");
  getch();
}
Screen Short:


Output:
 

This is the basic program of  C which we have created
Here :
Clrscr()  is used for clear the screen.
Printf() is used as output the string.
Getch() is used for keeping stable the output.

No comments:

Post a Comment