which of the following statements about stacks is correct? a) a stack implements first-in, first-out retrieval. b) a stack implements random retrieval. c) a stack implements last-in, first-out retrieval. d) a stack stores elements in sorted order.