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


Please Help Members By Posting Answers For Below Questions

What is a program flowchart and how does it help in writing a program?

659


What are high level languages like C and FORTRAN also known as?

683


Can you explain the four storage classes in C?

642


How the c program is executed?

630


Can a variable be both const and volatile?

672






What is multidimensional arrays

628


Explain the Difference between the New and Malloc keyword.

685


What the advantages of using Unions?

669


What is c programming structure?

617


What is the use of a ‘’ character?

583


How do we print only part of a string in c?

581


What is cohesion and coupling in c?

587


What is indirection?

648


Is there any demerits of using pointer?

626


Explain what is the difference between null and nul?

650