154,981 views
2 votes
2 votes
suppose a function has a parameter named x, and the body of the function changes the value of x. if we do not want the change affect to the original x, what type of parameter x should we use?

User Christian Flem
by
3.2k points

1 Answer

3 votes
3 votes

Answer: It should be a value parameter.

User Bakua
by
2.9k points