What's the difference between a linked list and an array?

Answer Posted / paridhi

An array is simply a collection of variables of similar
datatype while a linklist is a collection of nodes where
each node is a combination of a data value and pointer to
another record.

Is This Answer Correct ?    30 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do pointers take up memory?

683


Explain why C language is procedural?

786


What is the difference between ++a and a++?

711


What is a file descriptor in c?

578


how should functions be apportioned among source files?

638






What is the difference between call by value and call by reference in c?

630


What is the difference between malloc calloc and realloc in c?

663


In which language linux is written?

617


What is "Hungarian Notation"?

647


Explain how can you determine the size of an allocated portion of memory?

638


What is int main () in c?

639


please send me the code for multiplying sparse matrix using c

1733


What are the types of bitwise operator?

673


c program to compute AREA under integral

1830


What is auto keyword in c?

799