43.#include<iostream.h>
class A{
public:void show(){cout<<"class A show"<<endl;}
} ;
class B{
public:void show(){cout<<"class B show"<<endl;}
} ;
class C:public A,public B{
public:void print(){cout<<"class C print"<<endl;}
} ;
void main(){
C c;
c.show();
c.print();
}
44.#include<iostream.h>
class Student{
int x=0,y=0;
public:
Student(){
x=1;
y=l;
}
Student(int a,int b){
x=a;
y=b;
}
void get(){
cout<<x<<" "<<y<<endl;
}
} ;
int main(){
Student student(5,6);
student.get();
}