填空题

已知一个函数的原型是: int fn(double a); 若要以5.27为实参调用该函数,应使用表达式______。

【参考答案】

fn(5.27)
<上一题 目录 下一题>
热门 试题

填空题
表达式x.operator+(y.operator++(0))还可以写成______。
填空题
有如下类声明:class TestClass1{int k;public:void set(int n){k=n;}int get()const{return k;}};class TestClass2:protected TestClass1{protected:int j;public:void set(int m,int n){TestClass1::set(m);j=n;}int get()const{return TestClass1::get()+j;)};则类TestClass2中保护的数据成员和成员函数的个数是______。
相关试题
  • 在类中,______成员为类的所有对象所...
  • 以下函数实现的功能是______。void ...
  • 指针数组是由______构成的数组。
  • 非成员函数应声明为类的______函数才...