C++ Operator Overloading Question:
Download Questions PDF

Pick out the correct syntax of operator conversion.
a) operator float()const
b) operator float()
c) operator const
d) None of the mentioned

C++ Operator Overloading Interview Question
C++ Operator Overloading Interview Question

Answer:

a) operator float()const

Download C++ Operator Overloading Interview Questions And Answers PDF

Previous QuestionNext Question
How types are there in user defined conversion?
a) 1
b) 2
c) 3
d) 4
Which of the following operators can't be overloaded?
a) ::
b) +
c) -
d) []