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

How delete [] is different from delete?

581


Explain overriding.

592


Explain the scope of resolution operator.

619


If a function doesn’t return a value, how do you declare the function?

600


an operation between an integer and real always yeilds a) integer result b) real result c) float result

694






What is the difference between an external iterator and an internal iterator?

599


What is the disadvantage of using a macro?

577


Why is c++ called oops?

545


Is java based off c++?

521


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2239


What is using namespace std in cpp?

538


What are the four main data types?

567


Write bites in Turbo c++ Header ("Include") Files.

674


Will a catch statement catch a derived exception if it is looking for the base class?

547


What should main() return in c and c++?

516