Pregunta de entrevista de Symphony Teleca

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

Respuestas de entrevistas

Anónimo

4 sep 2016

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

Anónimo

4 sep 2016

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