How many parameters are there in a binary operator implemented as a friend?
A) 0
B) 1
C) 2
D) as many as you need
Correct Answer:
Verified
Q26: To overload functions with symbolic names like
Q27: Operators can be overloaded as
A) friends of
Q28: Given the following class, which is the
Q29: The assignment operator must be a _
Q30: When overloading an operator, which of the
Q32: How many members data and functions) does
Q33: What is wrong with the following overloaded
Q34: Since accessor functions in a class do
Q35: Write the function declaration for a destructor
Q36: Both the copy constructor and the assignment
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents