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
c program to compute AREA under integral
What are the features of c language?
Explain high-order bytes.
what is the difference between class and unio?
Can 'this' pointer by used in the constructor?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Is main is a keyword in c?
Why is it usually a bad idea to use gets()? Suggest a workaround.
Tell me what is the purpose of 'register' keyword in c language?
What is getch c?
Explain what are the different file extensions involved when programming in c?
What is the modulus operator?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
How many levels deep can include files be nested?