the value of point member variable while assigning one object to another

前端 未结 0 704
说谎
说谎 2020-12-10 14:41

If two objects of the same class are defined, one is assigned to the other.And the class has point member variable.For example,

class A{
private:
  int *a;
pu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题