Computer Science, asked by sachink22732, 11 months ago

what is different between characters constant and string constant ​

Answers

Answered by divya14321
1

Answer:

A character constant like '!' represents a single character. A string literal between double quotes usually represents multiple characters. A string literal like "!" seems to represent a single character, but it actually contains two: the ! you requested, and the \0 which terminates all strings in C.

Answered by momo07
0

Answer:

A character constant like '!' represents a single character. A string literal between double quotes usually represents multiple characters.

Explanation:

PLEASE MARK ME AS brainliest ;-)

Similar questions