Computer Science, asked by triparnaghosh58, 7 months ago

Which among the following is a char literal and string literal?
1 ."A"
2. 'A'​

Answers

Answered by devmohanty003
1

Answer:

"A" is a string literal

'A' is a character literal

Explanation:

Hope it helps :)

Answered by lucky202005
1

Answer:

1. "A" is a string literal .

2. 'A' is a char literal

Similar questions