The first call to boxVolume
(line 12) specifies no arguments, thus using all three default values of 1. The second call (line 16) passes only a length
argument, thus using default values of 1 for the width
and height
Get C++ How to Program, 10/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.