The discriminator type must be an integral type (short, long, long long, and so on, as well as char, boolean, or enumeraton).
识别名称类型必须是整数类型( short 、 long 、 long long 等,以及 char 、 boolean 或 enumeraton )。
For the types char and short, the compiler needs to reduce the size of the local variable to 8 or 16 bits after each assignment.
对于char和short类型,编译器在每次分配空间以后,都要将这种局部变量的尺寸减少到8位或16位。
Similarly, when a small integer (char, short, int) is passed into printf (3), it will be widened to 64-bits and the sign will be extended if appropriate.
类似地,当一个小整数(char、short、int)被传递给 printf (3) 时,它会扩展成 64 位的,符号会适当地进行扩展。
应用推荐