What is operator overloading? Give Example
Answer Posted / sagar kelkar
it may be defined as an operator performing different
operations.for ex-arithmetic operators such
as(+,-,*,/,++,--) etc..
| Is This Answer Correct ? | 22 Yes | 8 No |
Post New Answer View All Answers
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
What is destructor oops?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is overloading in oops?
Why polymorphism is used in oops?
What does sksksk mean in text slang?
Write a c++ program to display pass and fail for three student using static member function
what is different between oops and c++
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is inheritance write a program to show use of inheritance?
What is polymorphism and why is it important?
What is for loop and its syntax?
Why we use classes in oop?
i got a backdoor offer in process global,Bangalore..Can i work with it?
Why is abstraction needed?