What Is Operator Overloading in C++?

Answer Posted / glibwaresoftsolutions

In C++ interview questions, one frequently asked question is about operator overloading. Operator overloading is a form of compile-time polymorphism that allows operators to be given special meanings for user-defined data types.
This feature enables most operators to be redefined or overloaded to perform operations on these user-defined types. For instance,
C++ allows the addition of variables of user-defined data types in a manner similar to built-in data types.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How stl is different from the c++ standard library?

863


Who wrote stl?

898


In what scenario does the Logical file and Physical file being used?

2553


Describe the My Computer and My Documents folders; identify the elements that are present in every Window.

2127


What do stl stand for?

869


How do I convert a stl file?

780


write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

2738


What is stl stand for?

948


Explain stl.

1106


What are the symptoms of stl?

838


To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command

1993


What is stl stack?

875


how to use C++?

2269


How do you convert stl to steps?

857


What are stl algorithms?

872