The usual way to pass a variable by reference in C++(also C) is as follows:
void _someFunction(dataType *name){ // dataType e.g int,char,flo
Passing by reference in the above case is just an alias for the actual object.
alias
You'll be referring to the actual object just with a different name.
There are many advantages which references offer compared to pointer references.
references
pointer references