Which of the following correctly initializes a doubly linked list in the default constructor?

A. head = nullptr;
back = nullptr;
B. head = 0;
back = 0;
count = 0;
C. first = 0;
last = 0;
D. first = nullptr;
last = nullptr;
count = 0;

Answer: D

Computer Science & Information Technology

You might also like to view...

In a DO/S, the ____ is responsible for process synchronization mechanisms and communication support.

A. kernel B. central controller C. network manager D. the responsibility is shared among sites

Computer Science & Information Technology

You use Access to create an Access Web app.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology