Why is char often treated as integer data type in C++ ?

0 votes
2,881 views
asked May 29, 2013 in C++ by kalpana (3,995 points)
Why is char often treated as integer data type in C++ ?

2 Answers

0 votes
answered May 30, 2013 by admin (8,135 points)

The memory implementation of char data type is in terms of the number code. Therefore, it is said to be another integer data type.

0 votes
answered Jan 15 by sourabh sharma

The memory implement of char data type in terms of the number code(which is integer) therefore,it is said to be another integer data type

...