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 |
Write a program to find the Factorial of a number
Which bitwise operator is used to check whether a particular bit is on or off?
How would you use the functions sin(), pow(), sqrt()?
the maximum length of a character constant can be a) 2 b) 1 c) 8
check whether a no is prime or not.
What is set in c++?
Define 'std'.
What is a friend function in c++?
What is the difference between static global and global ?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
What are multiple inheritances (virtual inheritance)?
What is extern c++?