+ 3

Why is char often treated as integer data type?

17th Aug 2019, 1:19 AM
Kishore Kumar BP
Kishore Kumar BP - avatar
2 Réponses
+ 5
Char IS an integer type. It is just that the stored integer is then read as a letter, depending on what number it is. You can look that up in the ASCII table.
17th Aug 2019, 7:02 AM
HonFu
HonFu - avatar
+ 4
Thanks for your answer
17th Aug 2019, 5:42 PM
Kishore Kumar BP
Kishore Kumar BP - avatar