A subroutine can return a value using the “return” statement. This mechanism is very useful, as the result computed by a subroutine can be utilized immediately by an expression without using an intermediate variable that is required by passing by reference.