ICSE Class 10 Computer Applications Question 12 of 25

Values and Data Types — Question 12

Back to all questions
12
Question

Question 12

Distinguish between "A" and 'A'.

Answer

"A" is a string literal of length 1 containing the letter A in uppercase whereas 'A' is a character literal having value of A in uppercase.