|
|
发表于 2006-2-26 01:01:56
|
显示全部楼层
参考
http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf
Section 6.5.3.4
2 The sizeof operator yields the size (in bytes) of its operand, which may be an
expression or the parenthesized name of a type.
3 When applied to an operand that has type char, unsigned char, or signed char,
(or a qualified version thereof) the result is 1. |
|