Computer Science, asked by hello7862, 11 months ago

distinguish between character and string constant​

Answers

Answered by Ankit02
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
Math, 6 months ago