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
Can a varargs method be overloaded?
Why we use classes in oop?
What are the types of abstraction?
What does no cap mean?
What is multilevel inheritance in oop?
What is difference between oop and pop?
What is multilevel inheritance explain with example?
#include
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is constructor in oop?
What is the important feature of inheritance?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is inheritance write a program to show use of inheritance?
Can we have inheritance without polymorphism?
How long to learn object oriented programming?