The above programme is pushing each binary digit of 156 ( 10011100 ) from LSB into the stack of size 8.
After 8th push on stack, while condition fails, because of n=0. So Programme will terminate without printing ''stack overflow''.
Ans- Value present in stack from top to bottom = 1 0 0 1 1 1 0 0