Top 200+ C++ Interview Questions and Answers - 3
Question: 11
What is character constant?
Character constant is a constant that contains a single character enclosed within single quotes.
It can be any character alphabet, numeral, mathematical, relational or any other special character as part of the ASCII set.
Question: 12
What are non-graphic character constants?
Certain special characters like tab, backspace, line feed, null, backslash are called as non-graphic character constants.
Question: 13
What is String Literal?
String Literal is a sequence of characters surrounded by double quotes.
String literals are treated as an array of characters.
Each string literal is by default added with a special character ‘