Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - C language, why use ASCII code to store integers in memory?
C language, why use ASCII code to store integers in memory?
C language, the integer in memory is not in ASCII storage form, but in complement form.

If 100, ASCII is expressed as:

00 1 1000 1 00 1 10000 00 1 10000

The 8-bit complement is expressed as:

0 1 100 100