Page 1 of 1

Which of the following array element will return the top-of-the-stack-element for a stack of size N elements(capacity of

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) S[N-1]
b) S[N]
c) S[N-2]
d) S[N+1]