Short tutorial on function overloading in C++

Tutorials Shared by the Internet Community

Advertisements


Synopsis

In function overloading, the function is said to be overloaded when same name is given to different functions.

Statistics

  • Total Hits - 27044

  • Total Votes - 100 votes

  • Vote Up - 43 votes

  • Vote Down - 57 votes

  • Domain - www.onlinehowto.net

  • Category - C and C++/General Development

  • Submitted By - Shekhar

  • Submitted on - 2008-04-16 02:31:05

Description

In function overloading, the function is said to be overloaded when same name is given to different functions. However, the functions will differ at least in any one of the these. The number of parameters, the data type of parameters, the order of appearance these three together are referred to as the function signature. While overloading a function, the return types of the function need not differ. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements