ICSE Class 10 Computer Applications Question 12 of 43

User-Defined Methods — Question 12

Back to all questions
12
Question

Question 10

What is the principal reason for passing arguments by value ?

Answer

The principal reason for passing arguments by value is that the actual parameters that are used to call the method cannot be modified by the called method because any changes that occurs inside the method is on the method's copy of the argument value. The original copy of the arguments remains intact.