1.

What is the return type of the conversion operator?(a) void(b) int(c) float(d) no return typeThe question was posed to me in an interview for job.Enquiry is from Conversion Operators in division Source Files, Classes and Operator Overloading in C++ of C++

Answer»

The CORRECT option is (d) no RETURN TYPE

The best explanation: CONVERSION operator doesn’t have any return type not even void.



Discussion

No Comment Found

Related InterviewSolutions