填空题 下列程序的执行结果为
#include<iostream.h>
void main( )

cout.fill('*') ;
cout.width(10) ;
cout < < "hello" < < endl;


  • 1、
【正确答案】 1、* * * * * hello    
【答案解析】[解析] 本题考查的是C++语言的流输出操作,cout中包括的函数fill( )和width( )分别实现填充和设定显示长度的功能。