Every variable has an identifier or a name. A variable name is an identifier; function names are identifiers. We will encounter other kinds of identifiers that are used in many different contexts.
An identifier, or name, in C is a sequence of capital letters (A..Z) and small letters (a..z), digits (0..9), and the underscore (_) character. An identifier may not begin with a digit. Upper and lowercase letters are different from each other, so achar,aChar, AChar, andACHAR would identify different variables. An identifier may not have the same spelling as a C keyword. A list of C keywords can be found in the Appendix section of this book.
As with function identifiers, relying on the casing of letters to differentiate variables is not good programming practice. The most essential guideline is that variable names should closely match the kinds of values they hold. Name variables so that their names clearly reflect their purpose—for example, inch...