distinguish between character and string constant
Answers
Answered by
7
Character is a data type where only a single character is accepted. It is enclosed in a single ' '.
It holds two bytes.
and the data is in the form of \ua007 e.t.c
whereas,
A String is a collection of Characters.
It is itself a class but that is not required for beginners.
Similar questions