```#include class Timer { private: int hours, minutes, seconds; public: bool setTime(int h, int m, int s); void display(); const void resetTimer(Timer& t); },; bool Timer::setTime(int h, int m, int s) { if (h >= 0 && h = 0 && m = 0 && s < 60) { hours = h; minutes = m; seconds = s; return true; }, else return false; },; const void Timer::resetTimer(Timer& t) { hours = 0; minutes = 0; seconds = 0; }, void Timer::display() { std::cout << hours << ':' << minutes << ':' << seconds << std::endl; }, int main() { Timer t1, t2; t1.setTime(20,50,15); t2.setTime(15, 23, 11); t1.display(); t1.resetTimer(t2); t2.display(); }, ``` Am a bit confused on how passing object in parameters works, why wont calling upon resetTimer with t1, and referencing t2 not reset t2?
Because youre referencing hours minutes and seconds from `this` (ie timer1) not t (ie timer2)