what is the difference between arrays and linked list

Answer Posted / thanu

arrays: staticaly allocating memory
easy to traverse
memory wastage

linked list:runtime allocation
difficult to traverse
efficient usag of memory

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

c program for searching a student details among 10 student details

1652


Is sizeof a keyword in c?

574


What are called c variables?

569


explain how do you use macro?

665


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

713






What is table lookup in c?

625


When should you not use a type cast?

657


What is putchar() function?

633


What is an array? What the different types of arrays in c?

653


What is c language and why we use it?

618


what are # pragma staments?

1624


What is spaghetti programming?

668


Can we change the value of constant variable in c?

570


Do pointers take up memory?

652


What are the storage classes in C?

619