What is the output of the following code when n equals 100 A
     What is the output of the following code when n equals 100?  And give a description of the function of the code when n is a positive integer.   
  
  Solution
============================================================
-----------
 Answer:
 -----------
   144
 -----------
 Explanation:
 -----------
  n value is :100
   n%8 value : 4
   4 is pushed into stack
   
   n value is :12
   n%8 value : 4
   4 is pushed into stack
   
   n value is :1
   n%8 value : 1
   1 is pushed into stack
   
   POP elements one by one the content will be in reverse order
   1
   4
   4
   
   Hence answer is 144
 
 ============================================================

