Question: When a function ends due to it reaching the closing brace ( and not due to executing a return statement ) , _ _ _

When a function ends due to it reaching the closing brace (and not due to executing a return statement),_____.
both the parameters and the local variables cease to exist
the local variables cease to exit, but the parameters continue to hold their values
the parameters cease to exist, but the local variables continue to hold their values
both the parameters and the local variables continue to hold their values

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!