Computer Science, asked by sarimsohail, 5 months ago

Define character and string literal with example?​

Answers

Answered by purvarajiwade
2

A character literal is a type of literal in programming for the representation of a single character's value within the source code of a computer program. ... For example, 'a' indicates the single character a while "a" indicates the string a of length 1.

Answered by satyamkumar9450
1

Explanation:

A character literal is a type of literal in programming for the representation of a single character's value within the source code of a computer program. ... For example, 'a' indicates the single character a while "a" indicates the string a of length 1.

Similar questions