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

Answer Posted / sandy

because it grows dynamically. it can get extra node from
avail(available) list whereever array not having any avail
list......

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of an external iterator.

562


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

595


Difference between declaration and definition of a variable.

576


What is the exit function in c++?

530


Differentiate between late binding and early binding. What are the advantages of early binding?

568






Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

1632


What is increment operator in c++?

548


Show the application of a dynamic array with the help of an example.

573


Out of fgets() and gets() which function is safe to use and why?

712


What does new return if there is insufficient memory to make your new object?

571


When should I use unitbuf flag?

570


What are the various oops concepts in c++?

586


Using a smart pointer can we iterate through a container?

548


How compile and run c++ program in turbo c++?

615


What is #include iostream?

725