Friday, October 7, 2016

Return Value and Parameter

What’s the difference between a return value and a parameter? How are they both used?
The return value is outside the parentheses and parameter is in the parentheses. A return type s A variable for the function and a parameter is the action for the function.

No comments:

Post a Comment