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
How many main () function we can have in a project?
What is the benefit of using #define to declare a constant?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Linked lists -- can you tell me how to check whether a linked list is circular?
What is the use of getchar() function?
What are the application of c?
Why C language is a procedural language?
What are the different types of pointers used in c language?
Can a function argument have default value?
Once I have used freopen, how can I get the original stdout (or stdin) back?
How are variables declared in c?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Explain what is a program flowchart and explain how does it help in writing a program?
What is string length in c?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.