edited by
721 views

1 Answer

0 0 votes
This question though not very clear to me but still by going through what asked in question I'm getting following:

the stack content after all the operation performed will be {5->6->5(top) } so the size of DS will be 4*3=12bytes
Position:
Show:

Related questions

2 2 votes
0 0 answers
826
826 views
CHïntän ÞäTël asked Dec 7, 2018
826 views
I THING THERE IS MISTAKE BECAUSE BRACKET ARE CLOSING AFTER ELEMENT E SO ALL OPERATORS HOULD BE POPED AND AND ACCORDING TO ME ANWER SHOLD BE 2…TRY AND CORRECT IF I M WRON...
1 1 vote
1 1 answer
1.3k
1.3k views
shivangi5 asked Dec 12, 2017
1,298 views
Options areTI==(P/Q*i-1)Ti==(P/Q*i+1)Ti==(P/Q*(i-1)-1)Ti==(P/Q*(i+1)-1)
2 2 votes
1 1 answer
2.7k
2.7k views
Gupta731 asked Dec 7, 2018
2,679 views
Consider a stack S given below with elements 1,2,3 along with the usual operations push(), pop() and top() as shown.The number of elements that will remain in the stack a...
2 2 votes
2 2 answers
3.1k
3.1k views
jatin khachane 1 asked Dec 1, 2018
3,076 views
My doubt : What should we consider ^ operator as Bitwise XOR ? or Exponentiation