Stack In Data Structures : <pre><code>1.B.push (A.pop ()); 
2.B.push (A.pop ()); 
3.B.push (A.peek()); 
4.if (A. IsEmpty())
       A.push('Z'); 
   else 
       B.push ('Z');

      |____|                          |____|
      |____|                          |____|
Top -&gt;|  E |                          |____|
      |  D |                          |____|
      |  G |                          |____|
   stack frame A                    stack frame B
</code></pre>

<p>Hi All Can Please Anyone Explain whats happening with Line 1 to 4? Having problem in understanding the lines.</p>
