Variable
Variable
Variable are temporary storage in memory whose value changed during program excution according to given instruction.
<data type><identifier>;Variable are temporary storage in memory whose value changed during program excution according to given instruction.
- Declaration of variable
syntax:-
int k;
float g;
- Initialization of variable
Syntax:-
int k=10;
float g=3.14;
Comments
Post a Comment