Solved

Which of the Following Lines Would Be the Prototype for an Overloaded

Question 6

Multiple Choice

Which of the following lines would be the prototype for an overloaded cast operator function that converts an object of user-defined type Time into a double?


A) Time::operator double() const;
B) Time::static_cast double() const;
C) Time::operator_cast(double) const;
D) Time::double() const;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions