Difference between linked list and array?
Answers were Sorted based on User's Feedback
Answer / 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 |
Memory address of items in the array are continues but they
are not continues in the linked list. So you will easily to
access one item in an array, but not for a linked list.
However, you can easily insert or remove one item into/from
a linked list.
| Is This Answer Correct ? | 8 Yes | 1 No |
Explain the differences between private, public and protected and give examples.
Explain object slicing in c++?
Why do we learn c++?
Why is main function important?
What is the use of volatile variable?
Explain differences between alloc() and free()?
What are the types of STL containers?
What is conditions when using boolean operators?
How is modularity introduced in C++?
iam a fresher to Qt(GUI a c++ based framework software). i need to develop the basic applications on designer by drag and dropping mechanism...so pls send me the procedure to design applications?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
Which compiler does turbo c++ use?