What is doubly linked list in c++?



What is doubly linked list in c++?..

Answer / Inderjeet Singh Parmar

A doubly linked list in C++ is a data structure that consists of nodes, each containing a value and pointers to the previous and next node. This allows for efficient traversal of the list in both directions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is an Iterator class?

1 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,


Why is c++ still popular?

1 Answers  


What are inline functions?

3 Answers   Fidelity, Verizon,


program explaining feautures of c++

1 Answers   Satyam,


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

1 Answers   TCS,


What is pointer in c++ with example?

1 Answers  


What is the main purpose of overloading operators?

1 Answers  


What are the extraction and insertion operators in c++? Explain with examples.

1 Answers  


Badboy is defined who has ALL the following properties: 1. Does not have a girlfriend and is not married. 2. He is not more than 23 years old. 3. The middle name should be "Singh" 4. The last name should have more than 4 characters. 5. The character 'a' should appear in the last name at least two times. 6. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

1 Answers  


Can a class be static in c++?

1 Answers  


What are structs in c++?

1 Answers  


Categories