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 are conditional operators in C?
Should I learn data structures in c or python?
Write a program to print "hello world" without using a semicolon?
Where static variables are stored in memory in c?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
What is %lu in c?
How do I read the arrow keys? What about function keys?
What is pragma in c?
How can I list all of the predefined identifiers?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What is use of pointer?
What are actual arguments?
Write programs for String Reversal & Palindrome check
What is stack in c?