Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

1379


Is it possible for a member function to delete the pointer, named this?

222


What is the difference between multiple and multilevel inheritance in c++?

170


What is the difference between a baller and a reference in C++?

237


How do you save a c++ program?

190






What is std namespace in c++?

225


What is Destructor in C++?

246


Can we make any program in c++ without using any header file and what is the shortest program in c++.

256


What are the various situations where a copy constructor is invoked?

229


Explain the operation of overloading of an assignment operator.

235


What do you mean by late binding?

242


Define copy constructor.

230


write a program that reads in a file and counts the number of lines, words, and characters. Your program should ask the user to input a filename. Open the file and report an error if the file does not exist or cannot be opened for some other reason. Then read in the contents of the file and count the number of lines, words, and characters in the file. Also print additional information about the file, such as the longest and shortest words, and longest and shortest lines. For simplicity, we define a word to be one or more characters ending with white space (a space, tab, carriage return, etc.). Functions for checking the types of characters can be found in the ctype.h header file, so you want to include this header file in your program. For example, the sentence below could be all that is in a file. This sentence IT 104 is taught in C++. has 32 characters, one line, and six words. The shortest line is 32 characters. The longest line is 32 characters. The shortest word is 2 characters. The longest word is 6 characters

4457


Why c++ is created?

217


Which bit wise operator is suitable for putting on a particular bit in a number?

272