C-
Language Program Hints:
1.
The
'C' Language is Case sensitive Language.(In here the all are treated as based
on that coresponding ASCII value). (American Standared Coded for Information
Interchange).
2.
Each
and every 'C' Language Program's Statement should be Terminate with semicolon( ; ).
3.
Each
and every 'C' Program should contain one function. (main()).
4.
The
main() function's Statements should be blocked with curly braces.( { } ).
5.
The
Local Variable’s Declarations of all variables should be in the starting of the
program's statements.
6.
In 'C'
program what ever we are using (Variables and all…), must be declared before
using it. Declaration means nothing but, Specifying the specification about
its.
7.
In
each and every program should contain the corresponding header file definition
in beginning of the program in our main() function used built-in functions.
8.
The
'C' Language is structured programming langeage. So we should follow that
built-in structure.
9.
We
can Continue the Current line with Next
line with the help of Back Slash(\).
10.
Inclusion
of header files before program, is optional. But it is a good programming
practice.
C-
Language’s Most Wanted Header Files:
Header
files are the library files having the definitions for the pre defined
functions. Whenever we call a built in function, then we have to include the
corresponding header file.
Syn:
# include
<Header-Name.h>
Ex:
#
include <stdio.h> à stdio.h file's definition included
with current program
stdin à Standard
Input device
stdout à Standard
Output device
conio.h à Consol
input output functions
ctype.h à Character
Oriented functions
math.h à Mathmetical
Oriented Functions.
string.h à String
Oriented Function.
stdlib.h à Standard
Library functions.
No comments: