Name an advantage of array over linked list?
Answer Posted / dinesh jalandhar
we can use binary search in case of array , which is not
possible in case of linklist........because in linklist it
is not possible to access the middle element of linklist
directly
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is polymorphism what are the different types of polymorphism?
What do you mean by abstraction?
How is class defined?
What are main features of oop?
Which is better struts or spring?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Explain virtual inheritance?
What is polymorphism and why is it important?
What is the diamond problem in inheritance?
Write a program to sort the number with different sorts in one program ??
How to hide the base class functionality in Inheritance?
why reinterpret cast is considered dangerous?
What is basic concept of oop?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is the point of polymorphism?