difference between the array and linked list
general difference related to memory

Answer Posted / dr. sanyasi naidu pasala

In array memory will be allocated during compilation, where as in linked list memory will be allocated during run time. In array memory size will be depends on size of the array. In linked list memory will be allocated according to the user requirement. In array memory will be allocated in continuous memory locations but in linked kist memory will be allocated at random locations.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does normalization of huge pointer works?

865


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1805


What is the use of pointers in C?

828


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

2069


What does s c mean on snapchat?

779


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2400


Can static variables be declared in a header file?

805


When should I declare a function?

822


cavium networks written test pattern ..

3798


What is property type c?

827


What do you mean by scope of a variable in c?

748


Do you know the use of 'auto' keyword?

848


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1647


Why is c called a structured programming language?

983


What is the meaning of && in c?

735