68.1k views
1 vote
True/False: When you make a function call, the order of the arguments you send does not matter as long as the number of arguments matches the number of parameters the function has. True False

User Linsey
by
6.3k points

1 Answer

6 votes

Answer:

False

Step-by-step explanation:

The order of arguments sent matters because what if you were trying to assign a int parameter as string, moreover there is one to one mapping and thus the results computed by the function will be wrong too. The order may cause a bug in the functionality (when the wrong value is assigned to the wrongly selected parameter due to alteration in order), cause run time errors ( when the data type of parameter and argument does not match due to alteration in order )

User Amadeu Antunes
by
6.7k points