UrbanPro

Learn IT Courses from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What Are Operators Overloading in C++? Why They Are Needed?

Asked by Last Modified  

3 Answers

Follow 0
Answer

Please enter your answer

Post Graduate in Engg

An operator has some normal meaning in C++. Like e.g. + sign means you are adding two numbers etc. When you wish to give some different meaning to that operator - we call "the operator is overloaded" e.g. Using the same + sign we may add two strings to get combined string or we may add properties of...
read more
An operator has some normal meaning in C++. Like e.g. + sign means you are adding two numbers etc. When you wish to give some different meaning to that operator - we call "the operator is overloaded" e.g. Using the same + sign we may add two strings to get combined string or we may add properties of two object to generate a third object read less
Comments

CS Master

Operator overloading is an important concept in C++. It is a type of polymorphism in which an operator is overloaded to give user defined meaning to it. Overloaded operator is used to perform operation on user-defined data type. For example '+' operator can be overloaded to perform addition on various...
read more
Operator overloading is an important concept in C++. It is a type of polymorphism in which an operator is overloaded to give user defined meaning to it. Overloaded operator is used to perform operation on user-defined data type. For example '+' operator can be overloaded to perform addition on various data types, like for Integer, String(concatenation) etc. read less
Comments

It is to change the functionality of a given operator like + operation can be overloaded for adding two complex number which is slightly different from normal addition u can define that as a method
Comments

View 1 more Answers

Related Questions

I will complete my btech mechanical branch, I have intrested in design jobs so what are the design software's are learn and after learn the courses I will get the design engineer jobs so please send me u r suggestions..
Solidworks is best software for you, it will give you 100% job opportunity as an Design Engineer. we w provide solidworks @ just rs 10000 only
Pavan
0 0
8
Do I need to have prior knowledge of SQL/PHP to learn WordPress?
Yes, You have to work on live project or take up a live project training in Core PHP/MySQL. and then you can go for wordpress live project training. If interested for training please contact.
Anu
Is it good to go for a Java coaching center and learn Java (with advanced Java) to improve my programming skills?
yes, Please check the Institute reviews and discuss with the tutor, what topics were covered in class. Ask about the practicals session and how many hours/duration of the course.
Gerda
0 0
5
In which program we use character constants?
For the name of months, animal, colors we do use it.
Mona
Base obj=new Child(); What are the advantage and real life application of above code?
Have you ever observed while communicating with databases? You can find such type of example while writing code from communicating with DB. Connection connectionObject = DriverManager.getConnection(); or Statement...
Vijay

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Bootstrap grid system
What is a Grid? As put by wikepedia − In graphic design, a grid is a structure (usually two-dimensional) made up of a series of intersecting straight (vertical, horizontal) lines used to structure...

The 6 fundamental principles of design which every designer need to follow?
6 fundamental principles of design which are: balance, proximity, alignment, repetition, contrast and space. Lets look at what each does. The elements and principles of design are the building blocks....

Write a script to open firefox without using firefox driver class?
Write a script to open firefox without using firefox driver class? Solution:Runtime.getRuntime().exec("C:\\Program Files\\Mozilla Firefox\\firefox.exe");

AutoCAD Traning
Course Description This module will introduce the students to the 3D Models. After the completion of this course, you will be able to use AutoCAD to create 3D Model, Surface, Mesh, Rendering and so on. ...

Basic R Syntax - R assignment operators
The assignment operators that R Supports are given below -> <- = ->> <<-
S

Recommended Articles

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Looking for IT Courses ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for IT Courses Classes?

The best tutors for IT Courses Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn IT Courses with the Best Tutors

The best Tutors for IT Courses Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more