So I completed a program identical to this one except it passes pointers ( Which I run and compile perfectly). I am having some trouble with passing (2) references. I can pass 1 reference but right now I can't pass 2.
Here is my code so far and I am getting too few functions in call when I declare int result = incr10(num);
The only problem now is the second number after increment is reading 26???? Any ideas as to why? I can't see why it would be reading that unless it just doubled 13 which is number 1 after increment? Thanks much
EDIT: It is also showing starting number 1:: two times and also the same with starting number 2.
haha thanks much. I didnt even realize that .... >.>. I figured that one would call num and one would call num2. Thanks again and I have learned my lesson with functions lol.