Name an advantage of linked list over array?
Answer Posted / dinesh kumar thakur jalandhar
------> in case of linklist no continuous memeory is
required .but in case of array there is of need continuous
memory block , mean to say if we have enough free memory but
is not in continuous block than we can not use it in case of
array .
but same memery can be used in case of linklist.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is a null tree?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
#include
why reinterpret cast is considered dangerous?
What is overloading in oop?
Can we create object of interface?
What is ambiguity in inheritance?
What is the diamond problem 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.
What is the advantage of oop over procedural language?
Which language is not a true object oriented programming language?
What is overloading and its types?
What is this pointer in oop?
Can we create object of abstract class?