Actually, I believe it was correct in it’s former version, as in order to provide the value only for x you could just write printValues(3);
and the function would be called with 3, 20 and 30 as its arguments (20 and 30 being the default values for y and z)
"Note that it is impossible to supply a user-defined value for x without also supplying a value for y and z."
Would mean that I would have to write printValues(3, 20, 30); While possible, it’s easier and still correct to write printValues(3);
"Note that it is impossible to supply a user-defined value for z without also supplying a value for x and y."
Would mean that I cannot write printValues(,,3); which is the intended outcome of that particular part of the lesson. Also, the next sentence in the explanation makes it clear that the intention was to point out that you cannot set z while leaving x and y to their default values without at least explicitly set them (to their default value, if you need them to be that way).
Thanks for these top notch lessons 😉
Have a good day