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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention four important string handling functions in c languages .

849


What is the main difference between calloc () and malloc ()?

838


Explain the meaning of keyword 'extern' in a function declaration.

926


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

780


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

925


How are 16- and 32-bit numbers stored?

981


Ow can I insert or delete a line (or record) in the middle of a file?

783


What is the heap?

958


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

1007


`write a program to display the recomended action depends on a color of trafic light using nested if statments

1884


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

946


Why does notstrcat(string, "!");Work?

885


using for loop sum 2 number of any 4 digit number in c language

1996


write a program to create a sparse matrix using dynamic memory allocation.

4621


Write a factorial program using C.

841