how can u create a doubly linked list with out using
pointers?

Answers were Sorted based on User's Feedback



how can u create a doubly linked list with out using pointers?..

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

how can u create a doubly linked list with out using pointers?..

Answer / shanmugavalli

Through STL List class

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More C++ General Interview Questions

Why do we learn c++?

0 Answers  


What does return 0 do in c++?

0 Answers  


What is a virtual destructor?

2 Answers  


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

1 Answers   Quark,


Explain virtual class and friend class.

0 Answers  






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

0 Answers  


How do we implement inheritance in c++?

0 Answers  


When do we use copy constructors?

0 Answers  


Explain static and dynamic memory allocation with an example each.

0 Answers  


what kind of projects are suitable for c and c++

0 Answers  


Explain RAII (Resource Acquisition Is Initialization).

3 Answers  


What is the disadvantage of using a macro?

0 Answers  


Categories