data is stored in binary form in memory. Numerical values are represented by complement.
Integer:
The complement of a positive number has the same form as its original code. The complement of negative number is the binary form of its absolute value "bit-by-bit inversion plus 1"
Real type:
It occupies 4 bytes in memory and is stored in exponential form. The real type data is divided into decimal part and exponential part, which are stored separately! The computer represents the decimal part in binary and the exponential part in power of 2!
Character type:
The storage of characters in memory actually puts the ASCII code corresponding to the characters into the storage unit. These ASCII code values are also stored in binary form in the computer. This is very similar to the storage of integers. Therefore, the conversion between these two categories is also more convenient!