7. several functions of same name can be defined. As long as they have different parameters, this is called.
a) operator overloading b) function overloading
c) function reusing d) none of these
8. which of the following is correct about function overloading?
a) the order argument is different
b) the type of arguments and order of arguments are different
c) the number of argument is same
d) the types of argument are different
9. an operator function is created using...........
a) iterator b) allocator c) coristructor d) operator
10. base class and derived class relationship comes under:
a) inheritance b) polymorphism c) encapsulation d) none of these
Answers
Answered by
1
Answer:7) The correct answer is b) Function overloading.
8) The options doesn't seem accurate, all of the given options may be considered true
9) answer is d) operator
10) answer is a) inheritance
Explanation:7) Several functions may be declared with the same name as long as it has a different signature list (ie argument type, argument number etc).
Similar questions