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

Answer Posted / deepti

because in linklist we can store as many elements as we
want because size does not matter .but in case of array if
we define size suppose 20 we can store only 20 elements .

Is This Answer Correct ?    20 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an adaptor class in c++?

614


Difference between declaration and definition of a variable.

597


What c++ library is string in?

592


Why would you use pointers in c++?

638


What is command line arguments in C++? What are its uses? Where we have to use this?

586






What is new in c++?

590


How do I use arrays in c++?

594


What is c++ flowchart?

690


What are the effects after calling the delete this operator ?

570


What is stream and its types in c++?

570


What is the best c++ compiler?

598


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

549


How do you declare A pointer to function which receives an int pointer and returns a float pointer

693


What is a float in c++?

551


What is #include ctype h in c++?

679