when we pass object as argument to a function, then whethe constructor or destructor are called or not.