For the linked list implementation, if the stack is not empty, which of
the following accesses the top element in a member function?

a. element
b. topOfStack
c. topOfStack.element
d. topOfStack->element
e. none of the above

D

Computer Science & Information Technology

You might also like to view...

Which of the following statements about embedded operating systems is FALSE?

A) They can be found in a GPS device. B) They can run on simple hardware. C) They are very large. D) They have specialized, limited functions.

Computer Science & Information Technology

By default, OpenOffice Calc spreadsheets contain ________ sheets

A) four B) three C) five D) two

Computer Science & Information Technology