I am trying to understand line 231 here: https://github.com/erich666/GraphicsGems/blob/master/gems/Roots3And4.c
Where it says num += SolveQuadric(coeffs, s + num);
with num
being an int and s
looking to be an array of doubles.
The K&R assumption is because of the function declaration where after parenthesis and before the body curly bracket the type and size of the arrays are defined.
So if this really is an array and an int added, what is the outcome? The int added to every entry in the array? extending the array? or something completely different?
I am trying to port the code and I am not sure how to read this part.