欢聚时代2018校招笔试题-C /C 音视频传输/推荐算法/测试开发 A卷
时长:120分钟 总分:100分
110浏览 0人已完成答题
题型介绍
题型 | 多选题 | 判断题 | 简答题 |
---|---|---|---|
数量 | 10 | 5 | 4 |
有以下一段代码:#include using namespace std...
#include <iostream>
using namespace std
class A {
public :
void run(void) {
cout << "run()" << endl
}
void run(int a){
cout << "run(A)" << endl
}
}
class B : public A {
public :
void run(int a) {
cout << "run(B)" << endl
}
}
int main(void) {
B b
b.run(0) //语句1
b.A::run(1) //语句2
b.run() //语句3
b.A::run() //语句4
return 0
}
编译时会产生错误的语句有:</iostream>
在64位操作系统下,下面的值是?
请完成以下程序:若a大于b返回a,否则返回b。int great(int ...
int great(int a, int b) {
return ()
}