I am confused how another method of function call by reference works...withought using the pointer....
the method uses reference parameters in function header....as
int anyfunction( int &var)
and simply variable name is used for all work in the function..
as for this function header the var can be used as
var = var*var;
can any one explain why this can be done...?