Variable

                                                                    Variable
Variable are temporary storage in memory whose value changed during program excution according to given instruction.
  • Declaration of variable
      <data type><identifier>;

      syntax:-
      int k;
      float g;
  • Initialization of variable 
      <data type><identifier>=<value>;

     Syntax:-
     int k=10;
     float g=3.14;

Comments

Popular posts from this blog