CPSC 203: Introduction to computers |
1 2 <== num1 and num2 that are local to function 'start'
1 2 <== a copy of what's stored in num1 from function 'start' is copied into a version of num1 that's local to function fun (the corresponding copy happens with num2)
10 40 <== the num1 that exists for function 'fun' is changed, the num2 that exists for function 'fun' is changed (the ones' in function 'start' don't change)
1 2 <== num1 and num2 that are local to function 'start' remain unchanged