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

Answers were Sorted based on User's Feedback



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

Answer / shravan katta

array allocated statically
linked list dynamic memory allocation
in the linked list have to remove the node at run time
but can't remove the array node

Is This Answer Correct ?    7 Yes 0 No

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

Answer / 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

More C Interview Questions

to get a line of text and count the number of vowels in it

3 Answers   Satyam,


What is an example of enumeration?

1 Answers  


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

0 Answers  


what are the files which are automatically opened when a c file is executed?

3 Answers  


explain what are actual arguments?

0 Answers  






What is the use of getch ()?

0 Answers  


What is encapsulation?

2 Answers  


How to compare array with pointer in c?

0 Answers  


what are # pragma staments?

0 Answers  


how does the C compiler interpret the following two statements p=p+x; q=q+y; a. p=p+x; q=q+y b. p=p+xq=q+y c. p=p+xq; q=q+y d. p=p+x/q=q+y

2 Answers   TCS, Tech Synergy,


why in C,C++'s int size is 2 byte and .net(c#) int Size is 4 byte?

2 Answers  


What does the message "warning: macro replacement within a string literal" mean?

1 Answers  


Categories