what is the difference between arrays and linked list
Answer Posted / kshama
Array is a simple sequence of numbers which are not
concerned about each-others positions. they are independent
of each-others positions. adding,removing or modifying any
array element is very easy.Compared to arrays ,linked list
is a comlicated sequence of numbers.each number in the
linked list is connected to its previous & next no. via a
link which is nothieng but a pointer.Addition,removal of
no.s in linked list is related to this pointer direction &
linking that no. to the no. which is already present in the
list.
| Is This Answer Correct ? | 137 Yes | 47 No |
Post New Answer View All Answers
What is difference between union and structure in c?
What is assert and when would I use it?
What is c method?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
Why static variable is used in c?
Why void main is used in c?
What is c basic?
Can we declare function inside main?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Can you tell me how to check whether a linked list is circular?
What are variables c?
Write a code to remove duplicates in a string.
Are c and c++ the same?
What is a static variable in c?
What is oops c?