Why is it difficult to store linked list in an array?
Answer Posted / murali
Because array can not grow dynamically
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
Explain stack & heap objects?
What are the three forms of cin.get() and what are their differences?
What is an arraylist c++?
What is purpose of abstract class?
How many keywords are used in c++?
What is #include iomanip?
What are features of c++?
how can i access a direct (absolute, not the offset) memory
address?
here is what i tried:
wrote a program that ask's for an address from the user,
creates a FAR pointer to that adress and shows it. then the
user can increment/decrement the value in that address by
pressing p(inc+) and m(dec-).
NOW, i compiled that program and opened it twice (in 2
different windows) and gave twice the same address to it.
now look what happen - if i change the value in
one "window" of the program, it DOES NOT change in the
other! even if they point to the same address in the memory!
here is the code snippet:
//------------------------------------------------------
#include What is istream and ostream in c++? What is a tuple c++? What are the c++ access specifiers? What c++ is used for? Who created c++? What is the syntax for a for loop? Why use of template is better than a base class?