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

Why doesn't C support function overloading?

1602


What are the different types of pointers used in c language?

608


What is the value of h?

585


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1445


How can you be sure that a program follows the ANSI C standard?

1120






What is && in c programming?

671


shorting algorithmS

1793


Why isn't it being handled properly?

641


Why pointers are used in c?

579


Hi can anyone tell what is a start up code?

1607


Explain what are header files and explain what are its uses in c programming?

621


What is a static function in c?

614


How do you use a 'Local Block'?

714


Why should I prototype a function?

628


How can you determine the size of an allocated portion of memory?

736