Right answer is (b) for returning back from the subroutine to the main program
The best explanation: Ret instruction is basically used for returning back from a subroutine. It actually pops the top address from the stack and moves that address to its PC, so that it now returns to the main program and continue the execution normally.