Name an advantage of array over linked list?
Answer Posted / gurpreet kaur
In arrays memory requirement is less as a refrence is not
required whereas memory for the data as well as for the
pointer is required and hence the overhead.
Arrays allow random access, any element can be accessed
using the subscript whereas linked lists allow sequential
access, accessing of any element requires processing of the
list from the beginning upto the element.
| Is This Answer Correct ? | 17 Yes | 4 No |
Post New Answer View All Answers
How Do you Code Composition and Aggregation in C++ ?
What is meant by multiple inheritance?
Why multiple inheritance is not possible?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is static modifier?
Why is there no multiple inheritance?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
which feature are not hold visual basic of oop?
What is the point of oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What does and I oop mean in text?
What is an example of genetic polymorphism?
What does oop mean in snapchat?
What is class and object in oops?