What's concept of Pointers to data member? Show with Example. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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