本文共 585 字,大约阅读时间需要 1 分钟。
1 2 3 4 5 6 | int intValue=1024; char str[]= "Tencent" ; const char * ch=str; sizeof (intValue)=__a___; sizeof (str)=__b____; sizeof (ch)=____c___; |
a=1,b=1,c=1
a=4,b=4,c=4
a=4,b=7,c=4
a=4,b=8,c=4
1 2 3 4 5 6 | int intValue=1024; char str[]= "Tencent" ; const char * ch=str; sizeof (intValue)=__a___; sizeof (str)=__b____; sizeof (ch)=____c___; |
转载地址:http://arnab.baihongyu.com/