I didn't try it but here's what I have for say a single int
Shift(&number); //give deference or location of number
Shift(int address){
Int variable = *address; //stores the value of number to variable
//do work on variable
&address = variable; //puts variable back in place of number so when number is used it has the modification
}
Is that correct? And can I use it to modify an entire array? Is there a way to just skip all this and return an array?