Home » C Programming » Variables in C Programming

Variables in C Programming

Variables is a name given to memory location. 

            int x =10;                       

                                                                    

here, x is a integer variable.                                                     

Integer variable x is a name given to memory location and where we stored integer value10.

Initialize multiple variable : we can also initialize multipleby comma separated list.

int  a,b,c;         

Here, we have initialized three integer variable a,b & c. variable  ‘a’  stores 10, variable ‘b’ stores 20 and variable ‘c’ stores 30.

Initialize multiple variable : we can also initialize multipleby comma separated list.

Please follow and like us:
error