执行语句:cout<<setfill('*')<<setw(10)<<setfll('#')<<left<<123<<"OK"<<endl;return 0;
后将输出( )。
A:123******OK B:123#######OK C:123********OK******** D:123#######OK########
执行语句:cout<<setfill('*')<<setw(10)<<setfill('#')<<left<<123<<"OK"<<endl;return 0;)后将输出( )。
A:123*******OK B:123#######OK C:123********OK******** D:123#######OK########
有如下程序:#include <iostream>#include<iomanip>using namespace std;int main( ){ cout.fill('*'); cout.width(6); cout.fill('#'); cout<<123<<end1; return 0;}执行后的输出结果是( )。
A:###123 B:123### C:***123 D:123***
执行语句:{cout<<setfill('*')<<setw(10)<<seffill('#')<<left<<123<<"0K"<<end1;return 0;}后将输出( )。
A:123*******0K B:123#######0K C:123********0K******** D:123#######0K#######
有如下程序: #include<iostream> using namespace std; int main( ) { cout.fill('*'); cout.width (6); cout.fill('#'); cout<<123<<end1; return 0; }执行后的输出结果是______ 。
A:###123 B:123### C:***123 D:123***
有如下程序:
#include
#include
using namespace std;
int main( ){
cout< A:##OK123 B:##OK#123 C:OK##123 D:OK##123#
有如下程序: #include <iostream> #include <iomanip> using namespace std; int main( ) { cout.fill('*'); cout << left << setw(4) << 123 << "OK" << endl; return 0; }
A:123*OK B:123*OK** C:*123OK D:*123**OK