Can you help? We have to insert instead | Sololearn: Learn to code for FREE!
+ 3

Can you help? We have to insert instead

#include<iostream> using namespace std; class Myclass { public: void fun(int a){X=a;} private: int X; } main() { Myclass m, *my=&m; //******found***** *my.fun(10); }

27th Jun 2019, 6:34 AM
Sklyarov Denis
Sklyarov Denis - avatar
1 Odpowiedź
+ 1
I am not sure if I completely understand your question.
29th Jul 2019, 6:07 AM
Sonic
Sonic - avatar