The getNext function was inlined because:

A. it is likely to be used in a loop, so using it will be faster while not using too much memory for code
B. the next element to get is in line with the previous element
C. we need many copies of the getNext function, since there are many elements to
retrieve
D. searches are always faster when they are made in a straight line through the list

A

Computer Science & Information Technology

You might also like to view...

The new Windows 10 browser is called Microsoft ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

When you link to specific locations on the same Web page, these locations are called ________

A) anchors B) targets C) hotspots D) references

Computer Science & Information Technology