单项选择题
有如下程序:
#include<iostream>
using namespace std;
int main()
cout.fill(’*’);
cout.width(5);
cout<<scientific<<314.15926535<<endl;
retrun 0;
程序运行后,输出的结果是( )。
A.3.141593e+002
B.3.1416e+002
C.**3.14e+002
D.314.16
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
有如下程序 #include<iostream> using namespace std; class base public: virtual void f1() cout<< F1Base ; virtual void f2() cout<< F2Base ; ; class derive:public base void f1() cout<< F1 Derive ; void f2(int x) cout<< F2 Derive ; ; int main() base obj1,*p; derive obj2; p=& obj2; p->f1(); p->f2(); return (); ) 执行后的输出结果是( )。
A.F1Derive F2Base
B.F1Derive F2Derive
C.F1Base F2Base
D.F1Base F2Derive
点击查看答案
单项选择题
在结构化设计方法中生成的结构图(SC)中,带有箭头的连线表示( )
A.模块之间的调用关系,
B.程序的组成成分
C.控制程序的执行顺序
D.数据的流向
点击查看答案
相关试题
下面程序的输出结果是 【15】 。 #in...
以下程序的执行结果是 【14】 。 #in...
有以下程序 #include<iostream> using...
下面程序的运行结果是 【13】 。 #in...
若已定义,以下fun函数的功能是:在第一个...