Sail E0 Webinar
Question

What will the statement


char ch='A';


 store in variable ch?



Options:
A .  The character A
B .  Ascii value of character A
C .  A along with inverted commas
D .  None of the above
Answer: Option B

The ascii value of a character constant is stored in a character
variable, hence character variable is also sometimes called as a
variation of int datatype.




Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers