codingcpp

The reference operator (also called the address-of operator) is used in c++ to get the memory address of a specific variable.

It can also be used in function declarations to denote that the value passed in needs to be a memory location (Pointers) of that type