問題詳情

【題組】7.We use the array A as defined above to implement the stack. We want to store the first integer atindex=0. Let the latest input be stored at index=top. What is the value of top for the empty stack?
(A) top=0;
(B) top=1;
(C)top=-1;
(D) top=9.

參考答案

答案:[無官方正解]
難度:計算中-1
書單:沒有書單,新增