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

Which of the following is evaluated first: a) && b) || c) !

1799


Explain selection sorting. Also write an example.

577


What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required

571


Explain the use of vtable.

611


What are the types of container classes?

608






How do you initialize a string in c++?

558


What is setbase c++?

620


Differentiate between the manipulator and setf( ) function?

590


What is malloc in c++?

555


What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

578


Why struct is used in c++?

618


Differentiate between a constructor and a method in C++.

554


How would you call C functions from C++ and vice versa?

634


Is there any difference between int [] a and int a [] in c++?

543


What is a dll entry point?

560