In C Programming a variable is a place to store information. A variable is a location in your computer’s memory in which you can store a value and from which you can later retrieve that value.
Variables are referential name given to memory location holding our program data. The value of the C variable may get change in the program.
Variable name must begin with letter or underscore.
Variable name sholud not start with a digit.
They can be constructed with digits, letters.
sum, height, _value are some examples for variable name
No special symbols are allowed other than underscore.
Variables are case sensitive
Blank or spaces are not allowed in variable name.
< data-type > < variable-name>
int num;
You can also declare more than one variable of same type at once using comma.
< data-type > < variable-name 1>, < variable-name 2>,< variable-name 3>, … , < variable-name N>,;
int num, name, sum;