Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Function Overloading Practice | Diving Into Functions
C++ Introduction Video Course
course content

Course Content

C++ Introduction Video Course

C++ Introduction Video Course

1. Getting Started
2. Control Flow
3. Diving Into Functions
4. Strings and Characters
5. Arrays and Data Structures

bookFunction Overloading Practice

Task
test

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 4
toggle bottom row

bookFunction Overloading Practice

Task
test

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 4
toggle bottom row

bookFunction Overloading Practice

Task
test

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 3. Chapter 4
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt