问题 填空题

在C++语言中,一个short型数据在内存中占用2个字节,则unsigned short型数据的取值范围为 【7】

答案

参考答案:0~216-1

解析: unsigned short是无符号整型,最小值为0,,最大值为2(上标)16-1。

填空题
选择题