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
Where define directive used?
How do I send escape sequences to control a terminal or other device?
Under what circumstances does a name clash occur?
Who is the main contributor in designing the c language after dennis ritchie?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
How many identifiers are there in c?
a c code by using memory allocation for add ,multiply of sprase matrixes
How arrays can be passed to a user defined function
What are the general description for loop statement and available loop types in c?
Write a program to use switch statement.
What are extern variables in c?
Explain what are the different data types in c?
Explain 'far' and 'near' pointers in c.
What is a char in c?
What does & mean in scanf?