C 关键字
unsigned 关键字用于修饰 int 和 char 数据类型,通过不表示负数来扩大它们所能表示的正数范围。
unsigned
int
char
unsigned int myNum = -1; printf("%d", myNum);
亲自试一试