what is the difference between arrays and linked list
Answer Posted / soumen goswami
1)Array has a static storage where as in linked list it is
dynamic.
2)To add some elements in an array is impossible since the
size is predefined.For the same case we can add elements at
the beginning,in the middle and also in the end.
3)To access the data from array is very easy while to access
data from linked list is some complex.
| Is This Answer Correct ? | 25 Yes | 9 No |
Post New Answer View All Answers
How do I use strcmp?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
What does char * * argv mean in c?
Why is it that not all header files are declared in every C program?
Write a factorial program using C.
What is void c?
Write a c program to demonstrate character and string constants?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
How can I find out if there are characters available for reading?
What does it mean when the linker says that _end is undefined?
What is the difference between NULL and NUL?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is difference between union and structure in c?
What are the advantages of using macro in c language?
How are variables declared in c?