C++ | Operator Overloading | Question 7
Output of following program?
(A) fun(int) called
(B) fun(Test 2) called
(C) Compiler Error: Ambiguous call to fun()
Explanation: The class Test has two conversion operators overloaded, int and Test2. And there are two fun() for int and Test2.
Quiz of this Question