December 2013
Beginner
656 pages
16h 42m
English
EXPLORATION 24
![]()
Overloading Function Names
In C++, multiple functions can have the same name, provided the functions have a different number of arguments or different argument types. Using the same name for multiple functions is called overloading and is common in C++.
Overloading
All programming languages use overloading at one level or another. For example, most languages use + for integer addition as well as for floating-point addition. Some languages, such as Pascal, use different operators for integer division (div) and floating-point division (/), but others, such as C and Java, use the same operator (/).
C++ takes overloading one step further, ...
Read now
Unlock full access