问题
单项选择题
以下程序的输出结果是( )。 #include<iostream> using namespace std; int main() {cout.fill('*');cout.width(5);cout<<hex<<100<<endl;return (); }
A.**100
B.***64
C.100**
D.64***
答案
参考答案:B
以下程序的输出结果是( )。 #include<iostream> using namespace std; int main() {cout.fill('*');cout.width(5);cout<<hex<<100<<endl;return (); }
A.**100
B.***64
C.100**
D.64***
参考答案:B