Lesson 7 of 24
Functions, Default Arguments and Overloading
9 min 25 XP
C++ lets several functions share a name as long as their parameters differ (overloading). Default arguments make trailing parameters optional.
Example: edit me and press Run
Output Loading C++ (first time takes a few seconds)
Press Run to see the result here.