sizeof 运算符
sizeof 用于获得数据类型或表达式的长度,它有三种使用方式:
sizeof(type_name); //sizeof(类型); sizeof(object); //sizeof(对象); sizeof object; //sizeof 对象;
signed 和 unsigned
还有一对类型限定符是 signed 和 unsigned,它们用于限定 char 类型和任何整型变量的取值范围。