填空题
将以下程序写成三日运算表达式是
【9】
。
if(a>b) max=a;
else max=b;
【参考答案】
max=(a>b)a: b;
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
下面程序的运行结果是 【10】 。#include<iostream>using namespace std;class count static int n;public: count() n++; static int test() for(int i=0;i<4;i++) n++; return n; ;int count::n = 0;int main() cout<<count :: test()<< ; count c1, c2; cout<<count :: test()<<end1; return 0;
点击查看答案
填空题
数据的逻辑结构有线性结构 【4】 两大类。
点击查看答案
相关试题
若有以下程序:#include <iostream>usi...
Staff类含有int 型数据成员ID,两个Staff...
下面程序的输出为 【11】 。#include...
下列程序的输出结果为 【13】 。#incl...
以下程序的执行结果是 【12 。#includ...