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


Please Help Members By Posting Answers For Below Questions

What is header file definition?

565


What is the -> in c?

579


What is difference between Structure and Unions?

634


What is the difference between scanf and fscanf?

660


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

1322






Write a program to print numbers from 1 to 100 without using loop in c?

633


What does void main () mean?

729


What is meant by type specifiers?

658


difference between Low, Middle, High Level languages in c ?

1630


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1467


What is #line in c?

559


Explain what is the concatenation operator?

622


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)

678


What is mean by data types in c?

548


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1462