Answer Posted / xxx
vector is also an array but the size of a vector can change
dynamically where in array its fixed.
we can create some reserve space in vector where in array we
cannot.
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is the point of polymorphism?
What is the difference between encapsulation and polymorphism?
What is the real life example of polymorphism?
Can we create object of interface?
What exactly is polymorphism?
What is ambiguity in inheritance?
Why is abstraction needed?
What is byval and byref? What are differences between them?
What is the real time example of inheritance?
What is encapsulation example?
Whats oop mean?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is a superclass in oop?
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.