【简答题】#include using namespace std; class B1{ int b1; public: B1(int i) { b1 = i; cout<<"constructor B1."<
【简答题】读程序写结果: int main() { int a[4]={1,3,5,7}; int *p=a; cout< (1) cout< (2) cout< (3) cout< (4) }
【单选题】下面程序的输出结果是【 】。 #include using namespace std; int fun(int a=1,int b=2,int c=3); int main() { cout< return 0; } int fun(int a,int b,int c) { return a*b*c; }
【简答题】#include using namespace std; class B1{ public: B1(int i) {b1=I; cout< void Print() {cout< private: int b1; }; class B2{ public: B2(int i) {b2=i; cout< void Print() {cout< }; class A:public B2,public ...