what is the difference between arrays and linked list
Answer Posted / vasu kanneganti
1.array is fixed length and Array is a simple sequence of
numbers which are not concerned about each-others positions
but linked list is variable length
2.in array values are accessing easy but linked list is
some time taken process bcoz search aither forword or
backword
3.in array updating operations are time taken comparing
with linkedlist
4.array is not growble and linkedlist is growble
| Is This Answer Correct ? | 42 Yes | 14 No |
Post New Answer View All Answers
What does != Mean in c?
Is a pointer a kind of array?
What is a #include preprocessor?
What is indirection?
Can you write a programmer for FACTORIAL using recursion?
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
Explain how do you convert strings to numbers in c?
Why is c called c not d or e?
What is printf () in c?
Why isn't it being handled properly?
Apart from dennis ritchie who the other person who contributed in design of c language.
Differentiate between a for loop and a while loop? What are it uses?
Here is a neat trick for checking whether two strings are equal
What does sizeof int return?
Are global variables static in c?