A.The first one refers to a variable whose identifier is x and the second one refers to the character constant x
B.The first one is a character constant x and the second one is the string literal x
C.Both are same
D.Both are string literal
Answer: A
In a C++ code, names with quotes like ‘x’ represent a character or string(in case of a collection of characters) whereas without quotes they represent an identifier.