When a variable is passed by what, any changes made to the parameter inside the function do not affect the original value?

  • Pointer
  • Reference
  • Type
  • Value
When a variable is passed by value, a copy of the original value is created, and any changes made inside the function do not affect the original variable.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *