Wednesday, September 15, 2010

03. WRITE A C PROGRAM STEP-1

For write a C program: 
1.  1st of all u mast write Library file access.(#include<library file name >)

2.  Then write Function heading.(main())

3.  Then start a second bracket and end a second bracket. Now you mast be write every thing in the middle of second bracket.

4.  Now write your program. For example:


/* start writing a C program */

#include<stdio.h>    /*Library file access */        
#include<conio.h>
main()      /*Function heading */
{

/* now here u write your program code */
}

/*post by Arnob */

No comments:

Post a Comment