Name an advantage of array over linked list?
Answer Posted / kiran
The Main advantage of array data structure is which is used
to hold like kind of data. in other words arrays hold
(save) similar kind of data items and array items stored in
contigues locations in memory. on the other hand link list
may hold unlike kind of data (group of data) and items
stored is not contigues in linked list.
| Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
What does <> mean pseudocode?
What does I oop mean?
How do you define social class?
What is the renewal class?
What is meant by oops concept?
What is encapsulation 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.
What is class in oop with example?
What is destructor in oop?
What is abstract class in oops?
Why do we use oops?
What is multilevel inheritance in oop?
What is difference between multiple inheritance and multilevel inheritance?
What is difference between abstraction and encapsulation?
#include