employer cover photo
employer logo
employer logo

Symphony Teleca

Acquired by HARMAN

Is this your company?

Symphony Teleca interview question

How to send information from one class object to another class object without using constructors.

Interview Answers

Anonymous

Sep 4, 2016

class B{ public: int j; void display(void){ std::coutdisplay(); } }; int main(){ A aobj; B bobj; aobj.doSomethingWithThis(bobj.sendthis()); return 0; }

Anonymous

Sep 4, 2016

class B{ public: int j; void display(void){ std::coutdisplay(); } }; int main(){ A aobj; B bobj; aobj.doSomethingWithThis(bobj.sendthis()); return 0; }