0
What exactly ' -> ' this do ??
3 Respuestas
+ 2
The arrow operator dereferences the pointer and calls the dot operator. It's basically a short hand for this:
(*my_pointer).my_func()
+ 2
I guess the shorthand is more like:
(*pointer).member
for
pointer->member
0
it calls the memory address of the assigned variable... like this-> a or (*this).a ... they r the same....