U
USCode
I've noticed that in various books and online sources that sometimes I see
the & addressof operator and the * dereference operator at either the
beginning of the variable name or at the end of the variable name. Is this
just syntactic or personal style preference or is there a difference in how
they're being used?
before:
*my_ptr
&my_ref
after:
my_ptr*
my_ref&
Thanks!
the & addressof operator and the * dereference operator at either the
beginning of the variable name or at the end of the variable name. Is this
just syntactic or personal style preference or is there a difference in how
they're being used?
before:
*my_ptr
&my_ref
after:
my_ptr*
my_ref&
Thanks!