![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
Which of the following operators are overloaded by default by the compiler in every user defined classes even if user has not written? 1) Comparison Operator (==) 2) Assignment Operator (=) |
A. | Both 1 and 2 |
B. | Only 1 |
C. | Only 2 |
D. | None of the two |
Answer» C. Only 2 |
View all MCQs in
CPP ProgrammingNo comments yet