- To declare (or make space in memory to store one)
char identifier ;
- for example
char MiddleInitial;
- or
char identifier, identifier, ... identifier ;
- for example
char FirstInitial, MiddleInitial, LastInitial, ch;
- They can hold any single character from the ASCII character set
- For example:
'a', 'A', '+' '_' '4' ...
- When we want to stick a value intom memory, we use an assignment
statement, and the character constant must be in ''
MiddleInitial = 'M';
FirstInitial = 'D';
LastInitial = 'B';
- There is much more we can do with them, but this will do to start.
- Here is an example