what is the difference between arrays and linked list
Answer Posted / jyoti
1.In case of array storing is easy and simple rather than
that of linked list because linked list need more space to
store same amount of data than amount of memory required by
array.
2.In case of linked list operations like
insertion,deletion,merging etc are easy than that of array.
3.Size of array is predefined but in case of linked list it
is defined at run time.
4.Array is randomly accessed but list is sequentially
accessed only.
5There is problem of memory wastage in case of array.
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is header file definition?
What is the -> in c?
What is difference between Structure and Unions?
What is the difference between scanf and fscanf?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Write a program to print numbers from 1 to 100 without using loop in c?
What does void main () mean?
What is meant by type specifiers?
difference between Low, Middle, High Level languages in c ?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
What is #line in c?
Explain what is the concatenation operator?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What is mean by data types in c?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..