Question: what is the difference between character literals and string literals?
Answer: A common convention for expressing a character literal is to use a single quote ( ' ) for character literals, as contrasted by the use of a double quote ( " ) for string literals. For example, 'a' indicates the single character a while "a" indicates the string a of length 1.