@dejected_warp_core@lemmy.world
Post #3230859
2026-06-09 17:21 UTC
*x = dereference or “point to”. Treats the variable x as containing a pointer value. Evaluates to a variable existing at x’s address.
&x = reference or “get address of”. Evaluates to the address of x.
They’re complimentary operators, so *(&x) cancels out and is equvalent to just x.
Replies (0)
No replies.