Discussion Forum : Constants
Question - The difference between x and 'x' is
Options:
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 .  Both are same
D .  None of the mentioned
Answer: Option A


The first one refers to a variable whose identifier is x and the second one refers to the character constant x



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *