Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Why are character types and integer types so common?
Why are character types and integer types so common?
Because character variables are stored in memory as ASCII values, that is, in the form of integers, they can be considered universal, but ASCII code has only 128 characters (the extended ASCII table has 256 characters), which means that all ASCII characters can be represented by one byte, so character variables occupy 1 byte, and integer variables occupy the same space length as data buses.