Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

How do friend operator function differ from member operator functions

How do friend operator function differ from member operator functions

Answers


Davis
A binary member operator function is passed the left operand implicitly via the ‘this’ pointer.A binary friend operator function is passed both operands explicitly.Unary member operator functions have no explicit parameters.A friend unary operator function has one parameter.
Githiari answered the question on November 17, 2017 at 05:46

Answer Attachments

Exams With Marking Schemes

Related Questions