Why cant we just print the second stack to get in reverse order?

Why cant we transfer all elements of stack into another stack and then print the other stack, wont this also reverse the stack>

@Ak07
yeah smart solution :stuck_out_tongue_winking_eye::stuck_out_tongue_winking_eye:.
but we dont have to print in reverse order ,the task is to reverse the content of first stack using one extra stack.