+ 1

Is the pointer variable have also a address??

20th Aug 2017, 7:27 AM
Harendra Singh
Harendra Singh - avatar
2 odpowiedzi
+ 7
Yes. Pointers have their own addresses. E.g. int* ptr; std::cout << &ptr; // prints address of pointer.
20th Aug 2017, 7:33 AM
Hatsy Rei
Hatsy Rei - avatar
0
yes Mr.harendra singh pointer variable posses their address
2nd Sep 2017, 4:44 PM
Sahaj garg
Sahaj garg - avatar