0
What's concept of Pointers to data member? Show with Example.
pointers to data members
1 ответ
+ 1
variable is a box name, this box store data like a number.
a=3;
pointer is another box name, this box store the address of variable above.
*p=&a;
you can access the number via variable or pointer both way.