[Solved] Is the order of arguments in a function call important?


Yes, it matters. The arguments must be given in the order the function expects them.

C passes arguments by value. It has no way of associating a value with an argument other than by position.

The names you use in the arguments passed to the function are irrelevant. C does not examine the argument names to figure out which parameters they should be associated with. Generally, arguments may be expressions, not just names, and an argument like 57 or 4+8 does not indicate which parameter it should be.

5

solved Is the order of arguments in a function call important?