CPlusOOP
SiteMap
Reusable Software
Structured Programming
Operator Overloading
«Prev
Reusable Code
Polymorphism Concept
Comparing Conversion Operators
ADT Conversion
Conversion Member Functions
Signature Matching Algorithm
Operator Overloading
Unary Binary Overloading
friend Function Usage
friend Function - Quiz
Overloading Operators
Pure Polymorphism
Define Class Inheritance
Pure Polymorphism
Derived Class
Public Inheritance
public Inheritance - Quiz
Constructors Base
Reference Typing Conversions
print member-function
Virtual Functions
Guidelines Virtual Functions
Virtual Function - Selection
Virtual Function - Exercise
Abstract Classes
Reinterpret const cast
Dynamic cast Operator
RTTI
typeid Operator
throw C++ Exception
Pure Polymorphism Conclusion
Ecological Simulation
Operator Overloading in C++ - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
Which one of the following operators can be overloaded?
A.
::
B.
new
C.
.*
D.
sizeof
2.
Which one of the following operators cannot be overloaded?
A.
the function call
( )
B.
+=
C.
>>
D.
?:
3.
RunTime Polymorphism is achieved by
A.
friend function
B.
virtual function
C.
operator overloading
D.
function overloading
Correct answers:
Your Score: 0
Submit
Quiz Explanation