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
English,
6 months ago
Social Sciences,
6 months ago
Music,
6 months ago
English,
1 year ago
Business Studies,
1 year ago