write a c++ code to overload + and - for a stack class such
that + provides push and - provides pop operation
Answer Posted / anmol
just leave this question this is the best option i also
done the same thing and got selected
| Is This Answer Correct ? | 18 Yes | 15 No |
Post New Answer View All Answers
What is abstract class in oops?
Why do we use class in oops?
officer say me - i am offered to a smoking , then what can you say
What are the advantages of polymorphism?
what's the basic's in dot net
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Plese get me a perfect C++ program for railway/airway reservation with all details.
How do you achieve runtime polymorphism?
What exactly is polymorphism?
explain sub-type and sub class? atleast u have differ it into 4 points?
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.
Why is encapsulation used?
What is polymorphism and example?
when to use 'mutable' keyword and when to use 'const cast' in c++
Why it is called runtime polymorphism?