how can u create a doubly linked list with out using
pointers?
Answers were Sorted based on User's Feedback
Answer / ana
by multiple or single array
multiple: 3 arrays(size n) . first array for next, second
for keys and third for prev
single: 3*n size array, elements by triplets - next, key,
prev
Is This Answer Correct ? | 5 Yes | 0 No |
Why do we learn c++?
What does return 0 do in c++?
What is a virtual destructor?
string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring
Explain virtual class and friend class.
What should main() return in c and c++?
How do we implement inheritance in c++?
When do we use copy constructors?
Explain static and dynamic memory allocation with an example each.
what kind of projects are suitable for c and c++
Explain RAII (Resource Acquisition Is Initialization).
What is the disadvantage of using a macro?