Polymorphism MCQ Questions and Answers - 2
Question: 6
While invoking functions, if the C++ compiler does not find the exact match of the function call statement then ___
(A) Looks for the next nearest match
(B) Deletes the function
(C) Generates an error
(D) It will ignore the function call
Ans: A
Looks for the next nearest match
Question: 7
The functionality of operator like ‘+’ can be extended using ___
(A) Operator precedence
(B) Operator overloading
(C) Operator definition
(D) None of the given
Ans: B
Operator overloading
Question: 8
Binary operators overloaded through a member function take one ____ argument.
(A) Default
(B) Complete
(C) Implicit
(D) Explicit
Ans: D
Explicit
Question: 9
The operator function must be ____
(A) A member function
(B) A friend function
(C) Either member or friend function
(D) None of the given
Ans: C
Either member or friend function
Question: 10
____ Promotions are purely compiler oriented.
(A) Constant
(B) Integral
(C) Floating point
(D) Character
Ans: B
Integral
Nuclear Physics Questions for Class 10 with Answers Pdf More
Samacheer Kalvi Class 10 Science Nuclear Physics Questions More
Class 10 Science Acoustics Exam Questions & Answers Pdf More
Samacheer Kalvi Class 10 Science Acoustics Questions & Answers More
Agricultural Engineering Multiple Choice Questions and Answers Pdf More
Top 1000+ General English Questions and Answers Pdf More
Top 100+ Tag Questions Quiz with Answers More
Reasoning Questions and Answers Pdf for Railway Exam More
Synonyms and Antonyms List with Meanings Pdf More
7000+ Metallurgical Kinetics and Energy MCQ Questions Answers More