Single Character Constants
It is a single character constant which enclosed inside a pair of single quotes.
Example
'A'
'3'
'?'
';'
' '
Character constants have integer values that are called an ASCII values. For instance, the character constant '3' has an ASCII value of 83.Thus; that is not the similar as the integer value 3. A few of the character constants and their corresponding ASCII values are: -
Constant ASCII value
'a' 97
'A' 65
'&' 38
';' 59