单项选择题
下列各组类型声明符中,含义相同的一组是( )。
A.unsigned longint和long
B.signed short和short
C.unsigned short和short
D.shortint和int
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
派生类的成员函数不能访问基类的( )。
A.公有成员和保护成员
B.公有成员
C.私有成员
D.保护成员
点击查看答案&解析
单项选择题
有如下4个语句: ①cout<<‘A’<<setfill(‘*’)<<1eft<<setw(7)<<‘B’<<endl; ②cout<<setrill(‘*’)((1eft<<setw(7)<<‘A’<<‘B’<<endl; ③cout<<‘A’<<serfill(‘*’)<<right<<setw(7)<<‘B’<<endl; ④cout<<setfill(‘x’)<<right<<setw(7)<<‘A’<<‘B’<<endl;
A.①和③
B.①和④
C.②和③
D.②和④ 其中能显示A* * * * * *B的是( )。
点击查看答案&解析
相关试题
有如下程序: #include<iostream> usi...
有以下程序: #include<iostream> usi...
有如下程序: #include<iostream) usi...
有如下程序: #include<iostream> usi...
有以下程序: #include<iostream> usi...