Question: During a function execution, if he return keyword is used, what happens? O The return statement returns data from the caller to the function to
During a function execution, if he return keyword is used, what happens? O The return statement returns data from the caller to the function to be used for calculations The function onds, and optionally returns a variable The function ends, and all of the variables from the function are consumed (can be used) by the calling function. The return function sets what the function will give back the the caller but the function still continues to execute any (given the return type) to the calling function 0 additional statements in the function until it reaches the end of the function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
