Untitled

mail@pastecode.io avatar
unknown
plain_text
13 days ago
236 B
1
Indexable
Never
#include <iostream>
using namespace std;

class B{
    B(int a){
        cout<< "How are you "<<a;
    }
};
class D:public B{
    D(int b){
        cout << "Derived class"<<b;
    }
}

int main(){




    return 0;
}
Leave a Comment