Publicis Sapient interview question

Friend Function.