Name an advantage of linked list over array?

Answer Posted / manoj kumar jha

1. Array size is fix and cannot change at run time,But in
link list we can create memory accoring to requirement.
2. In array we define but at the run time it is not used so
in that case memory is waste.

Is This Answer Correct ?    44 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who invented oop?

659


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2070


What is the point of oop?

659


What is a class and object?

600


What is methods in oop?

551






Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1660


What are oops functions?

586


What is object-oriented programming? Webopedia definition

727


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1584


write a programe to calculate the simple intrest and compund intrest using by function overlading

1670


What is the main feature of oop?

623


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2038


What is the real life example of polymorphism?

609


What is the highest level of cohesion?

581


What is interface? When and where is it used?

1664