InterviewSolution
Saved Bookmarks
| 1. |
Explain About Returning Values From Subroutines (functions)? |
|
Answer» The RETURN VALUE of the subroutine is the value of the last EXPRESSION evaluated or you can EXPLICITLY use a return statement to exit the subroutine specifying the return value. That return value is evaluated in the appropriate content DEPENDING on the content of the subroutine call. The return value of the subroutine is the value of the last expression evaluated or you can explicitly use a return statement to exit the subroutine specifying the return value. That return value is evaluated in the appropriate content depending on the content of the subroutine call. |
|