class Test{ int x; int y; public: Test(int h){ x=h; y=0; cout <
Fantastic news! We've Found the answer you've been seeking!
Question:
class Test{
int x;
int y;
public:
Test(int h){
x=h;
y=0;
cout<<"Constructor for Obj:"<
Test(int h, int g){
x=h;
y=g;
cout<<"Constructor for Obj:"<
Test (){
y=x=0;
cout<<"Constructor for Obj:"<
~Test(){
cout<<"Object :"<
}
};
What is the output if:
int main() {
Test *t1, *t2= new Test;
return 0;
}//end of main
Related Book For
Principles of Communications Systems, Modulation and Noise
ISBN: 978-8126556793
7th edition
Authors: Rodger E. Ziemer, William H. Tranter
Posted Date: