1 |
A copy constructor is invoked when |
a function do not returns by value
an argument is passed by value
a function returns by reference.
an argument is passed by reference.
|
2 |
Which of the following is the best approach if it is required to have more than one functions having exactly
same functionality and implemented on different data types? |
Templates
Overloading
Data hiding
Encapsulation
|
3 |
Which of the following causes run time binding? |
Declaring object of abstract class
Declaring pointer of abstract class
Declaring overridden methods as non-virtual
None of the given
|