romarshmallow:
I was wondering is it possible to change the input of a function by calling that function within itself. eg
In addition to what @UKHeliBob said, if I take your question literally, the answer is NO.
If you call a function with the values (say) 2 and 3 - as in myFunc(2,3); there is no way to change either of those values by using the function to call itself. It could, of course, ignore the values it was given.
If the values the function is working with are global values there would be no need to pass them as parameters and the function could then change the global values. For example
int valA = 6;
int valB = 123;
int valC = 0;
void myFunc() {
valC = valA + valB;
valA += 1;
}