We do not use a long chain of ->next’s when working with a linked list (for example, ptr->next->next->next->next->next->info) because:
A. we often do not know how long the linked list is, so we use a loop to move a pointer through the list
B. we can only use one next at a time (C++ does not permit more than one in an
expression)
C. it can become an infinite loop
D. doing so can cause memory leak
A
Computer Science & Information Technology
You might also like to view...
The ________ of a variable determine(s) which program statements can access the value in the variable
A) concatenation B) functions C) declaration D) scope
Computer Science & Information Technology
The __________ module deals with the device as a logical resource and is not concerned with the details of actually controlling the device.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology