Name an advantage of linked list over array?
Answer Posted / satish kondapalli
computer memory is divided into blocks.each work use these
blocks in non-contigious manner.but array elements are
stored in continous memory allocation.this will adversely
affect unuse of the memory blocks.array searches for bigger
blocks it needed,so that many small nlocks of memory is
unused.the main advantage of linkedlist is it can use
non-continuous memory blocks,because of it has the relation
between the nodes,and this is main merit over array.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is abstraction and encapsulation?
What is interface? When and where is it used?
Whats is abstraction in oops?
What is abstraction oop?
What is class encapsulation?
• What are the desirable attributes for memory managment?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Give an example where we have to specifically use C programming language and C++ programming language cannot be used? 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 encapsulation with real life example? What is encapsulation example? What is byval and byref? What are differences between them? What is difference between multiple inheritance and multilevel inheritance? Why is abstraction used? Which method cannot be overridden?