Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - The problem of characters and integers
The problem of characters and integers
There are only two basic types of C language: integer and floating point. Plastic surgery includes: char short int long and long long. Character type is actually the shaping of eight bytes. The character' a' is formatted for convenience. In the computer, it is the number 97. Char is usually used as a byte type. The corresponding wide byte character type wchar_t is also an integer, which is equivalent to 16 bits short. Of course, your judgment can be judged, because char is an integer. If its value is 0, it is false; if it is not 0, it is true.