填空题

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

【参考答案】

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

填空题
以下程序运行后的输出结果是_________。main(){ int x=0210; printf( %X n ,x);}
填空题
下列程序的输出结果是【 】。#inClude<iostream>using namespace std;class Test {public:Test() {cnt++;}~Test(){cnt--;}static int Count() {return cnt;}private:static int cnt;};int Test::cnt=0;int main(){cout<<Test::Count()<< ;Test t1,t2;Test*pT3=new Test;Test*pT4=new Test;cout<<Test::Count()<<’’’’;delete pT4;delete pT3;cout<<Test::Count()<<endl;return 0;}
相关试题
  • 静态成员函数可以直接访问类的【 】成员,...
  • 在MyClass类的定义中,对赋值运算符 = ...