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 Answer C++ Operator Overloading Interview Question](https://globalguideline.com/public/images/interview/32.png)
Answer:
a) operator float()const
Download C++ Operator Overloading Interview Questions And Answers
PDF
Previous Question | Next 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) [] |