InterviewSolution
Saved Bookmarks
| 1. |
Can There Be Multiple Return Statements Within A Function? |
|
Answer» Yes, there can be MULTIPLE RETURN statements within a FUNCTION THOUGH only one is executed. After the value is retuned, the CONTROL passes back to the calling environment and function PROCESSING is stopped. Yes, there can be multiple RETURN statements within a function though only one is executed. After the value is retuned, the control passes back to the calling environment and function processing is stopped. |
|