NOTEs
[Explanation of sample program]
1) A header file is a collection of similar type of inbuilt function.
2) #include:- # is a preprocessor which ensure that #include statement will be compiled at first and include reserved word ensure that copied object code of header file into program/program.
3) stdio.h:- It is stands for standard input output. “.h” is extension of header file.
4) conio.h:- It stands for console input output.
5) In C language, include header file is optional.
6) In C language,an execution always start from main() function because main() automatically called by operating system when press ctrl+F9.
7) A source file of C must be contains at least one users defined function named main().
8) void:- void is a reserve word which ensure that a function is not going to return a value to its caller.
9) Open braces& Closed Braces({}):- Open curlie braces ensure beginning of body of function and Closed curlie braces ensure end of body of function.
10) clrscr():- clrscr() is an inbuilt function of conio.h and it is responsible to removed statement from output buffer(i.e monitor).
11) printf():- printf() is an inbuilt function of stdio.h and it is responsible to display parenthesized statements in standard output device(i.e monitor).
12) getch():- getch() is an inbilt function of conio.h and it is responsible to accept a character from input buffer until user pressed any key.
13) In C language, a reserve word or keyword must be written in small letter.
14) In C language a statement must be terminated by “;”.
1) A header file is a collection of similar type of inbuilt function.
2) #include:- # is a preprocessor which ensure that #include statement will be compiled at first and include reserved word ensure that copied object code of header file into program/program.
3) stdio.h:- It is stands for standard input output. “.h” is extension of header file.
4) conio.h:- It stands for console input output.
5) In C language, include header file is optional.
6) In C language,an execution always start from main() function because main() automatically called by operating system when press ctrl+F9.
7) A source file of C must be contains at least one users defined function named main().
8) void:- void is a reserve word which ensure that a function is not going to return a value to its caller.
9) Open braces& Closed Braces({}):- Open curlie braces ensure beginning of body of function and Closed curlie braces ensure end of body of function.
10) clrscr():- clrscr() is an inbuilt function of conio.h and it is responsible to removed statement from output buffer(i.e monitor).
11) printf():- printf() is an inbuilt function of stdio.h and it is responsible to display parenthesized statements in standard output device(i.e monitor).
12) getch():- getch() is an inbilt function of conio.h and it is responsible to accept a character from input buffer until user pressed any key.
13) In C language, a reserve word or keyword must be written in small letter.
14) In C language a statement must be terminated by “;”.
Comments
Post a Comment