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

Write about all the implicit member functions of a class?

0 Answers  


What is the need of a destructor?

0 Answers  


Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }

2 Answers   CDAC, Wipro,


What causes a runtime error c++?

0 Answers  


What is isdigit c++?

0 Answers  






Describe the process of creation and destruction of a derived class object?

0 Answers  


Define private, protected and public access control.

0 Answers  


Can we define a constructor as virtual in c++?

0 Answers  


Is c++ the hardest programming language?

0 Answers  


Can you please explain the difference between using macro and inline functions?

0 Answers  


How can an improvement in the quality of software be done by try/catch/throw?

0 Answers  


Explain the problem with overriding functions

0 Answers  


Categories