Programming Languages C++ Objective
Mar 18, 2013

What is difference between x and ‘x’? 

Choose the correct answer:
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 second one is the string literal x
C) the first one is the string literal x second one refers to the character constant x
D) All of the above
Detailed Explanation

Option A is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback