274 views
1 votes
1 votes
The size of stack after performing above datastrcuture push(5) push6) push(7) pop,max,push(6),push(8),pop,pop,max,push(5) (in bytes).Assume integer can be stored in 4 bytes.max() reports current maximum among all elements of stack

1 Answer

0 votes
0 votes
is it 20?

Related questions

2 votes
2 votes
3 answers
1
srestha asked Mar 1, 2019
1,593 views
Runtime stack doesnot contain(A) Local variables(B) Static Variables(C) Parameter Passed(D) Return Address
0 votes
0 votes
1 answer
2
Somdatta Sen asked Feb 9, 2019
399 views
2 votes
2 votes
2 answers
3
0 votes
0 votes
0 answers
4
HeadShot asked Dec 14, 2018
422 views
Please explain points in short, and intuition behind its working.​​