logo image

Naming variables in C Language

Views: 14

Following is a one liner definition for naming variables in C Language

Variable name should start with a Letter,
Can contain Letters/ Numbers/ Underscore (_) and should not exceed 8 characters.
Variable NameValid/ NotValid
AgeValid
Age_Valid
Age_23Valid
_AgeNot Valid
23_AgeNot Valid
23AgeNot Valid
Age>Not Valid
Age 23Not Valid