asked 128k views
5 votes
Why is char often treated as an integer data type?

asked
User Kenna
by
8.0k points

1 Answer

3 votes
It is because it is in ASCII and thus is just a number. This means an integer can represent it.

No related questions found