Name an advantage of array over linked list?
Answer Posted / eren tsanglao
Array can be access randomly and it can even access the
middle element by just the array name with the
subscript,eg, a[5].The elemente are allocated a contagious
memory.Whereas in linked list more space is required for
the pointer and the information.Accessing elements in
linked list is sequential.
Is This Answer Correct ? | 26 Yes | 7 No |
Post New Answer View All Answers
Why do we use polymorphism in oops?
#include
What is stream in oop?
What is meant by multiple inheritance?
How do you define a class in oop?
What is polymorphism in oop example?
How can you overcome the diamond problem in inheritance?
what is different between oops and c++
What are different oops concepts?
What is abstraction encapsulation?
What is abstraction and encapsulation?
write a C++ program for booking using constructor and destructor.
What is the real time example of encapsulation?
What is the example of polymorphism?
Why polymorphism is used in oops?