What does a char represent? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does a char represent?

I mean I understand it represents a character, but computers can't store information as characters. So is just number with a corresponding character?

3rd Aug 2016, 12:39 PM
Daljit
2 Answers
+ 2
the ascii code for the char
3rd Aug 2016, 1:52 PM
Null Void
Null Void - avatar
0
characters are represented in the form of integers internally inside a computer that is in ASCII(American standards for information interchange) form see ASCII table for more info
3rd Aug 2016, 7:23 PM
sachin tomar
sachin tomar - avatar