In the linked list implementation of the queue, it was not necessary to set the pointer in the last node of the queue to NULL because:

A. we never had to search for an element in the queue
B. the address stored in the back pointer gives the address of the last node
C. it is never necessary to set a pointer in the last node of a linked list to NULL
D. the last node in the queue is not necessarily the last node in the linked list

B

Computer Science & Information Technology

You might also like to view...

Text automatically wraps in a cell when it reaches the right edge of the cell

Indicate whether the statement is true or false

Computer Science & Information Technology

What frequencies does 802.11n use?

A. 2.4 and 5 GHz B. 11 and 54 MHz C. 5 and 24 GHz D. 2.4 and 11 MHz

Computer Science & Information Technology