填空题
在C++语言中,一个short型数据在内存中占用2个字节,则unsigned short型数据的取值范围为
__
1
__
。
【正确答案】
【答案解析】
0~2
16
-1 [解析] unsigned short是无符号整型,最小值为0,,最大值为2(上标)16-1。
提交答案
关闭