L&T Technology Services Interview Question

oops in c++? friend fuction in c++