Difference between linked list and array?

Answer Posted / shyamu sharma

Linked List is dynamic, Array is static.
Searching : Fast in Linked List, Slow in Array.
Array is fixed length, Linked List Unlimited till Memory end.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about Virtual Function in C++?

693


Define Virtual function in C++.

730


Explain how we implement exception handling in c++?

669


What is the difference between public, private, and protected access?

694


What is the need of a destructor?

742






Evaluate !(1&&1||1&&0) a) Error b) False c) True

812


What is the difference between passing by reference and passing a reference?

658


What you know about structures in C++?

685


What does new return if there is insufficient memory to make your new object?

682


What is meant by a delegate?

715


What is meant by forward referencing and when should it be used?

655


What is function prototyping?

706


What is singleton class in c++?

689


Which is better c++ or java?

649


Does c++ have string data type?

783