ICSE Class 9 Computer Applications Question 10 of 14

Values and Data Types — Question 10

Back to all questions
10
Question

Question 10

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.