单项选择题
有如下程序:
#include <iostream>
using namespace std;
int main()
cout.fill('*');
cout.width(5);
cout<<scientific<<314.15926535<<endl;
return 0;
程序运行后,输出的结果是( )。
A.3.141593e+002
B.3.1416e+002
C.**3.14e+002
D.314.16
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
下面的函数模板定义中错误的是( )。
A.template <class Q>
QF(Qx)return Q-x;
B.template <class Q>
QF(Qx)return x+x;
C.template<class T>
TF(Tx)return x*x;)
D.template <class T>
bool F(Tx) return x>1;
点击查看答案
单项选择题
下列重载函数中,正确的是( )。
A.void fun(int a,float b);void fun(int c,float d)
B.void fun( int a,float b);void fun(float a,int b)
C.float fun(int a,float b);int fun(int b,float a)
D.int fun(int a,int b);float fun(int a,int b)
点击查看答案
相关试题
下面程序的输出结果是______。 #in...
a[9-i]
以下程序的执行结果是______。 #in...
下面程序的运行结果是______。 #in...
下列程序的运行结果为______。 #in...