問題詳情

14. Given the following functions for Stack operation, please fill the blanks with correct statements. 5ccbe118118e7.jpg

5ccbe12f797e7.jpg
(A) code1: s[top++] , code2: s[top--]
(B) code1: s[++top] , code2: s[--top]
(C) code1: s[top++] , code2: s[--top]
(D) code1: s[++top] , code2: s[top--]

參考答案

答案:C
難度:適中0.416667
統計:A(0),B(4),C(5),D(0),E(0)

內容推薦

內容推薦