what is the difference between arrays and linked list
Answer Posted / vky
Some of the above mention answer is nice, i would like to add some more points
Array had certain disadvantages as data storage, in an unordered array, searching is slow ,whereas in ordered array insertion is slow,In both kind of array deletion is slow
but in the case of link list it becomes very simple, like if we have to insert a new number create a new object of list and change the pointing reference
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the explanation for prototype function in c?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is #define in c?
What are dangling pointers in c?
What is the purpose of sprintf() function?
Write a code to generate divisors of an integer?
How a string is stored in c?
What are predefined functions in c?
How to implement a packet in C
Explain how can you tell whether a program was compiled using c versus c++?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What is function prototype in c with example?
Do pointers need to be initialized?
What is indirection?
What is pivot in c?