asked 155k views
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?

1 Answer

3 votes

Answer: It should be a value parameter.

answered
User Bakua
by
7.8k points

No related questions found