Vidyalelo
C++ Programming · Q88

Pointers and References in C++

Programming · C++ Programming · question 88

Q88

The difference between x and 'x' is?

A.
The first one refers to a variable whose identifier is x and the second one refers to the character constant x
Answer
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: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board