What is variable ?
Variable is nothing just a name or place holder for a value. For example we have declared a int variable name invar. invar is nothing but a placeholder for a int value of 4 byte. The use of variable is to access this memory content or value using its name.We can get starting memory address of variable by writing & just before the variable name.
Declaring Variable :
data_type varname ;
Variable naming rules in C :
A.) First Character must be an alphabet (a-z or A-Z)
B.) Must consist of letters, digits or underscore.
C.) Cannot use reserved keywords
D.) Must not contain white spaces
Variable in c