假设有两个变量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;
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;
举一反三
- 以下不属于C语言的类型是( ) A: signed short int B: unsigned long int C: unsigned int D: long short
- 以下选项中不属于C语言的类型的是( )。 A: signed short int B: long short C: unsigned long int D: unsigned int
- 以下描述中不属于C语言的类型的是________。 A: signed<br/>short int B: unsigned<br/>long int C: unsigned<br/>int D: long<br/>float
- 正确定义无符号整型变量m的语句是( ) A: int m; B: unsigned int m; C: signed int m; D: unsigned signed m;
- 想要定义一个无符号整型变量a,下列语句正确的是() A: int a; B: signed int a; C: unsigned int a; D: int unsigned a;