Quote Originally Posted by Ewiv View Post
Code:
return y--;
This line is why. Can you figure out why it is?
I was thinking this line is why?

Code:
int func(int&x,int y=10)
Edit: But, I think you are correct and its your line posted.
After re-reading the code, I saw the issues you hinted at.