'Why character need 1 byte and not 4?

Character have an ASCII code which is a number(integer). Then why it only takes 1 byte and not 4 bytes "like an int value" to store it in the memory.

c++


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source