Consider the following code which deletes all the nodes in a linked list.void doublyLinkedList::destroy(){ nodeType *temp; //pointer to delete the node while (first != nullptr) { temp = first; first = first->next; ____}last = nullptr;count = 0;}Which of the following is the missing statement?
A. delete first;
B. delete temp;
C. destroy temp;
D. clear temp;
Answer: B
You might also like to view...
Shading and borders are types of ________ formatting
A) paragraph B) character C) style D) document
Match the following terms to their meanings:
I. File System A. To move from one storage location to another. II. Windows Explorer B. To search through the files and folders on your computer. III. Navigate C. A program that displays the structure of folders and drives on the computer. IV. Browse D. Displays the file and folders stored on a storage device or location. V. Contents pane E. The overall structure in which files are named, stored, and organized.
Which of the following hides or makes unavailable storage devices or groups of storage devices from all but devices with approved access?
A. RAID B. SAN C. NAS D. LUN masking
The ____________________ operator decreases a variable's value by one.
Fill in the blank(s) with the appropriate word(s).