Possible Duplicate:
function parameter evaluation order
Assuming that I have a function with 4 arguments. Which parameter is considered first for execution and why.
I was trying to understand the , operator’s significance used for the function prototype. As is the rule is it the last variable considered first?
If we have a function with the following prototype:
And we call it like so:
We have no ability to presume the order of execution of
something_a,something_bandsomething_c.On the other hand, we can use the comma operator as follows:
In this case, we know that
something_awill be called, thensomething_b, and finallysomething_c.In summary, the comma found in a function call, is not the comma operator.