Can you help? We have to insert instead | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 1
I am not sure if I completely understand your question.
29th Jul 2019, 6:07 AM
Sonic
Sonic - avatar