Why is it difficult to store linked list in an array?

Answer Posted / truong

Because size of linked list is usually very large. So it is difficult to store data in a linked list in a continuously memory as an array.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write about all the implicit member functions of a class?

596


Write a program to find the Fibonacci series recursively.

604


How many types of modularization are there in c++?

562


Explain all the C++ concepts using examples.

684


Write is a binary search tree? Write an algo and tell complexity?

589






Explain the volatile and mutable keywords.

614


What is the use of bit fields in structure declaration?

538


Why do we need function?

597


What is the default width for ouputting a long integer using the insertion operator?

687


Where the memory to the static variables is allocated?

558


Specify some guidelines that should be followed while overloading operators?

616


What is c++ vb?

612


What is abstraction c++?

587


Difference between delete and free.

612


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

1582