Q17. Which literals are these :
"A" and '5'*
Answers
Answered by
0
Answer:
"A" is a string literal and '5'* is an invalid literal.
Explanation:
"A" 8s a string literal as it is enclosed in double quotes.
'5'* is invalid as * is added.
if we remove it,
'5' is a character literal
Similar questions