What is printed? python def addbonus(m): m = m + 5 return m x = 70 y = addbonus(x) print(x, y)
- 70 75
- 70 70
- 75 70
- 75 75
Answer
A) 70 75
The integer is effectively passed by value; x is unchanged. SLO CS-11-C-06
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise