In case of binary operator overloading with member function, which of following statement should be taken into consideration?

a. Right hand operand must be object.

b. Left hand operand must be object.

c. Both the operands must be objects.

d. All of these should be considered.












ANSWER: Left hand operand must be object.

No comments:

Post a Comment

The advantages of Outsourcing Web Development Services

In the present digital world, acquiring a solid web presence is essential for companies to flourish. A well designed site is much much more ...