单选题(每题2分,15题,共30分)
28C++程序中,用来定义无符号整型变量的关键字是_____。
A: unsigned int
B: int
C: short int
D: signed int
28C++程序中,用来定义无符号整型变量的关键字是_____。
A: unsigned int
B: int
C: short int
D: signed int
举一反三
- 单选题(每题2分,15题,共30分)<br/>C++程序中,用来定义无符号整型变量的关键字是_____。28 A: unsigned int B: int C: short int D: signed int
- 想要定义一个无符号整型变量a,下列语句正确的是() A: int a; B: signed int a; C: unsigned int a; D: int unsigned a;
- 正确定义无符号整型变量m的语句是( ) A: int m; B: unsigned int m; C: signed int m; D: unsigned signed m;
- 无符号整型变量表示为( )。 A: unsigned char B: signed char C: unsigned int D: signed int
- 假设有两个变量a=65432和b=a*2,在保证数据正确存储的前提下,以下变量类型定义错误的是()。 A: int a; int b; B: unsigned short a; signed int b; C: unsigned short a; unsigned short b; D: int a; signed int b;