单选题
关键字unsigned不能修饰的类型是( )。
A、
char
B、
int
C、
float
D、
longint
【正确答案】
C
【答案解析】
整型分为无符号(unsigned)和有符号(signed)两种类型(float和double总是带符号的),即unsigned不可以修饰float 和double。
提交答案
关闭