Course Content
C++ Introduction Video Course
C++ Introduction Video Course
Function Overloading Practice
Task
Swipe to show code editor
- Make function overloading for
add
function to support various types:- Create an
add
function that takes float inputs and returns a float. - Create an
add
function that takes strings and returns a string.
- Create an
Solution
solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 4
Function Overloading Practice
Task
Swipe to show code editor
- Make function overloading for
add
function to support various types:- Create an
add
function that takes float inputs and returns a float. - Create an
add
function that takes strings and returns a string.
- Create an
Solution
solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 4
Switch to desktop for real-world practiceContinue from where you are using one of the options below