Name an advantage of linked list over array?

Answer Posted / manoj kumar jha

1. Array size is fix and cannot change at run time,But in
link list we can create memory accoring to requirement.
2. In array we define but at the run time it is not used so
in that case memory is waste.

Is This Answer Correct ?    44 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better struts or spring?

612


What is object-oriented programming? Webopedia definition

715


What is coupling in oop?

587


What is the diamond problem in inheritance?

570


Explain the advantages of inheritance.

666






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.

622


Give two or more real cenario of virtual function and vertual object

1849


What is the point of polymorphism?

578


i got a backdoor offer in process global,Bangalore..Can i work with it?

2318


What is class and example?

561


What is inheritance and how many types of inheritance?

611


Why is polymorphism used?

577


Write a c++ program to display pass and fail for three student using static member function

2802


What is for loop and its syntax?

592


What does sksksk mean in text slang?

1514