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 reliable are floating-point comparisons?
What do the functions atoi(), itoa() and gcvt() do?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Explain what is the difference between a string and an array?
What is const and volatile in c?
How can I generate floating-point random numbers?
Explain the difference between malloc() and calloc() function?
What is difference between structure and union in c programming?
What does dm mean sexually?
Is malloc memset faster than calloc?
What does %c mean in c?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What is the collection of communication lines and routers called?
Why flag is used in c?
write an algorithm to display a square matrix.