Yeah ofcourse! You can use pointers.
Pass the address of the variable as a parameter and then just assign the value of the address to whatever.