retagged by
633 views
2 votes
2 votes

Loading Question

retagged by

1 Answer

Best answer
6 votes
6 votes
If we need to get $I^{th}$ element from Top, we require at least $I$ element in stack. So, $Top \geq I$ and underflow condition is $Top < I \\ \implies Top+1 \leq I \\ \implies Top -I+1 \leq 0$
selected by

Related questions

2 votes
2 votes
3 answers
1
srestha asked Mar 1, 2019
1,555 views
Runtime stack doesnot contain(A) Local variables(B) Static Variables(C) Parameter Passed(D) Return Address
2 votes
2 votes
0 answers
2
1 votes
1 votes
1 answer
3
shivangi5 asked Dec 12, 2017
633 views
Options areTI==(P/Q*i-1)Ti==(P/Q*i+1)Ti==(P/Q*(i-1)-1)Ti==(P/Q*(i+1)-1)
0 votes
0 votes
1 answer
4