The rules for variable declaration in C are given below :
? A variable name consists of alphabets, digits and the underscore (_) character
? The length of variable should be kept upto 8 characters though your system may allow upto 40 characters
? They must begin with an alphabet
? Some systems also recognize an underscore as the first character
? White space and commas are not allowed
? Any reserved word (keyword) cannot be used as a variable name