Reference Variables
A reference variable is an alias, which is another name for an already existing variable. A reference, like a pointer, is also implemented by storing the address of an object. A reference can be thought of as a constant pointer with automatic indirection, i.e the compiler will apply the * operator for you.
Examples in
Zig
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in Zig!
You can see if there are examples in other languages or
be the first to post an example in Zig!