Function overloading for handling different data types – CSKC
Sign In

Search

Code Learning #CPP#4479    siteicon   siteicon  

Function overloading for handling different data types

Understanding function overloading concept as a need to handle different data types but for exactly the same purpose.

Learning Objectives

  • Understanding overloading for the purpose of handling different data types but for the same purpose.

Source Code

TC++ #4479

 

Source Code

×

Ask AI About This Code

Default Prompt that is passed along with the code is given below, You can write your own prompt if you so desire.



×

Test CPP

Notes

  • Function overloading will relate to only input parameters. A function is not considered overloaded if its return type is different but input parameters are of same type, count and order.


Suggested Filename(s): func-ol1.cpp



Share

Created: 26-Aug-2018 01:25 | Updated: 15-Sep-2018 15:41|