問題詳情

4.Show the content of stack SI and the value of variables x and y after the following algorithm segments is executed. (10%)Stack(Sl); push(S 1, 5); push(Sl, 3); push(S 1, 2);If (not empty(Sl)) pop(Sl, x);If(not empty(S 1)) pop(Sl, y);Push(Sl,6)

參考答案

答案:D
難度:簡單0.787724
統計:A(78),B(0),C(5),D(308),E(0)

內容推薦