Name an advantage of array over linked list?
Answer Posted / nidhi singh
memory requirement is less.
no pointers required..
| Is This Answer Correct ? | 91 Yes | 18 No |
Post New Answer View All Answers
What is abstraction with example?
Why do we need polymorphism in c#?
What is ambiguity in inheritance?
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.
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
2. Give the different notations for the class.\
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What are the components of marker interface?
Who invented oop?
What is polymorphism and its types?
What is the example of polymorphism?
How do you achieve runtime polymorphism?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What does enum stand for?
What is and I oop mean?