error in passing argument 1 of 'int f(int& ,int ...
It means that the actual argument should be an object that can be referenced, it can not be an immediate constant such as 5. Passing by reference allows the function modify the value of this argument, so it should be a variable. You should either remove '&' from the function signature, or use a variable to pass as the first argument. —SA
DA: 65 PA: 57 MOZ Rank: 3