Following structure helps programmer to develop code easily in C Programming.
1. documentation
2. directive preprocessor
stdio.h
(printf-scanf) #include<stdio.h>
conio.h
(clrscr – getch)
3.#define (optional)
4. global declaration(optional)
5. void main()
{ —-execution start
int a,b; ——————>1. declaration part
clrscr();
__________________>2. executable part
getch();
}—-execution complete
6. userdefined fn()
{
process……
…………
}
Hope this will help every learner.
For more information about C programming at TCCI
Call us @ 9825618292
Visit us @ www.tccicomputercoatching.com