Structure of C
We already discus about structure of c in previous post, now i would like to tell balance structure topic such as Variable Declaration, Written of Statement, Variable Initialization and End of file.
Variable Declaration:
Before use variable we need to define variable on top of the program this process called variable declaration. Variable are just user defined names, which is used on statement of program.
First step of variable declaration is intimate keyword before declare variable. Intimation of keyword is based on their property of declaration variable.
Ex:
int a; float b;
int => keyword
Variable Initialization:
Initial the variable is allocate the value to variable. First time allocation is called Initialization. Basically variable are has null value. When Initialization start then only it get value.
Ex:
a=10;
End of file :
Before done the program we need to use close tag for execution. The symbol of close tag is "}"
"}" is called end of file. These are mentioned Structure of C
Post a Comment