i use pass by reference but my cout give me weird number

This is a discussion on i use pass by reference but my cout give me weird number within the C++ Programming forums, part of the General Programming Boards category; My school gave me a smart house assignment .When i am pass reference to the function status there it give ...

You did not pass-by-reference. You passed-by-address, which is different.
...But you've been told this already, as well as changing the return type of main, and you even have another thread with pretty much the same issue, which you have yet to solve...