Atleast 5 difference between string constant and character constant
Answers
Answered by
8
this is the answer of the question
Attachments:
Answered by
30
=============== ⓢⓦⓘⓖⓨ
=============== ⓢⓦⓘⓖⓨ
Difference between string constants and character constants:-
- The string constants are always enclosed in double quotes, while character constants are enclosed in apostrophes (single quotation marks).
- A character constant has an equivalent integer value, whereas a single-character string constant does not have an equivalent integer value
- String constant is written in (" " ) double quotes"while character in single.(' ')
========================
·.¸¸.·♩♪♫ ⓢⓦⓘⓖⓨ ♫♪♩·.¸¸.·
________▶▶▶⭐◀◀◀________
Similar questions
Math,
6 months ago
English,
6 months ago
CBSE BOARD XII,
6 months ago
English,
11 months ago
Math,
11 months ago
Business Studies,
1 year ago