what's wrong with the following function?

int & plasThree(int number)
{
int threeMore = number + 3;
return threeMore;
}
Last edited on
The function returns a reference to an integer (int &). What integer is the reference to? How long does that integer exist?
Topic archived. No new replies allowed.