1.

How are types therein user-defined conversion?(a) 1(b) 2(c) 3(d) 4I got this question at a job interview.This intriguing question originated from Conversion Operators in division Source Files, Classes and Operator Overloading in C++ of C++

Answer» CORRECT choice is (b) 2

The EXPLANATION is: There are TWO types of user-defined conversions. They are conversion by the CONSTRUCTOR, Conversion functions.


Discussion

No Comment Found

Related InterviewSolutions