
Which of the following correctly initializes a doubly linked list in the default constructor?
A) head = NULL;
Back = NULL;
B) head = 0;
Back = 0;
Count = 0;
C) first = 0;
Last = 0;
D) first = NULL;
Last = NULL;
Count = 0;
Correct Answer:
Verified
Q3: A doubly linked list can be traversed
Q9: Memory for the components of an array
Q10: You can use the pointer head of
Q15: Because each node of a linked list
Q17: In a linked list,if a new item
Q23: Consider the following code,which deletes all
Q24: template <class Type>
_ doublyLinkedList<Type>::isEmptyList() const
{
Q25: What is the output of the following
Q26: In C++,the dereferencing operator is represented by
Q29: When building a linked list in the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents