A variable's value will change many times through out the program,In some case it will not change.A variable is the name given to particular memory location.NOTE that the value or data will be not stored in variable but it will store in the memory location which is pointed by variable.Rules to create variables are as follows:
1.Variables should contain only alphabets,digits and underscores.
2.No commas,blanks and no other special character should be used before,inside or after when the variable is defined.
3.Variable should be defined before we use it.
4.First character of any variable must be alphabet or underscore.Numbers are not allowed as first character.
Above are the some rules to create variables in c programming language.
1.Variables should contain only alphabets,digits and underscores.
2.No commas,blanks and no other special character should be used before,inside or after when the variable is defined.
3.Variable should be defined before we use it.
4.First character of any variable must be alphabet or underscore.Numbers are not allowed as first character.
Above are the some rules to create variables in c programming language.