You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first example has a named result parameter, the second does not. If a named result is changed in a defer statement, that changes the result. If a local variable is changed in a defer statement, that does not affect the result.
question
return 1
BUT
return 2
why???
The text was updated successfully, but these errors were encountered: