0

What's concept of Pointers to data member? Show with Example.

pointers to data members

21st Feb 2017, 7:38 PM
Abhishek Kumar
Abhishek Kumar - avatar
1 Resposta
+ 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.
22nd Feb 2017, 2:56 AM
karlxu
karlxu - avatar