In this tutorial we will try to explain what the term function overloading is.
A function is overloaded when same name is given to different function. However, the two functions with the same name will differ at least in one of the following.
a) The number of parameters
b) The data type of parameters
c) The order of appearance
These three together are referred to as the function signature.
For example if we have two functions :
void foo(int i,char a);
void boo(int j,char b);
Their signature is the same (int ,char) but a function
void moo(int i,int j) ; has a signature (int, int) which is different.


posted on 2009-Jun-24 | 06:59:00 AM
posted on 2009-Jul-22 | 12:33:01 AM
posted on 2009-Oct-10 | 08:54:53 PM
posted on 2009-Oct-11 | 07:19:36 AM
That is you wrote the "count" instead of the "cout".
posted on 2009-Oct-11 | 10:21:11 AM
posted on 2009-Oct-23 | 07:43:45 AM
posted on 2009-Oct-27 | 12:29:26 AM
posted on 2009-Oct-27 | 11:54:09 PM
posted on 2009-Nov-14 | 07:07:43 AM
posted on 2009-Nov-14 | 07:08:09 AM
posted on 2009-Nov-23 | 09:03:01 PM
posted on 2009-Dec-21 | 12:50:13 AM
1.what's the use of overloading?
2.are their functions (i mean what they do)the same as eatch other? or they can be tow completely different functions only with the same name?
if you could help me with these Qs plz contact me via: saba.t.beautiful@gmail.com
posted on 2010-Jan-05 | 11:30:59 PM
posted on 2010-Feb-12 | 09:35:20 AM
posted on 2010-Feb-14 | 02:51:41 AM
and also thanks to provide this kind of education and information facility
posted on 2010-Feb-16 | 09:17:57 PM
posted on 2010-Feb-18 | 10:44:34 AM
posted on 2010-Mar-06 | 07:38:20 AM
posted on 2010-Mar-22 | 01:46:03 AM
posted on 2010-Mar-26 | 06:49:48 AM
posted on 2010-Mar-26 | 09:29:29 PM
posted on 2010-Mar-29 | 12:35:22 AM
thank you !
posted on 2010-Mar-30 | 02:58:15 AM
posted on 2010-Mar-31 | 06:25:42 AM
posted on 2010-Apr-04 | 09:37:16 AM
posted on 2010-Apr-04 | 04:30:11 PM
posted on 2010-Apr-04 | 04:31:01 PM
posted on 2010-Apr-04 | 09:22:54 PM
posted on 2010-Apr-06 | 12:27:03 PM
posted on 2010-Apr-07 | 04:43:37 AM
posted on 2010-Apr-08 | 12:16:59 PM
posted on 2010-Apr-12 | 12:12:51 AM
posted on 2010-Apr-16 | 08:10:35 AM
posted on 2010-Apr-17 | 05:02:11 PM
posted on 2010-May-16 | 04:26:02 AM
posted on 2010-May-17 | 09:07:34 AM
posted on 2010-May-18 | 02:24:52 PM
posted on 2010-May-28 | 11:31:50 AM
posted on 2010-Jun-10 | 05:44:02 AM
posted on 2010-Jul-16 | 12:26:58 AM
Clear Examples.
posted on 2010-Jul-26 | 06:15:38 AM
posted on 2010-Jul-26 | 06:16:57 AM
posted on 2010-Aug-02 | 08:24:01 PM
posted on 2010-Aug-11 | 06:50:59 AM
need many programs in func overloading
posted on 2010-Aug-12 | 12:02:13 AM
posted on 2010-Aug-18 | 10:13:39 PM
posted on 2010-Aug-24 | 10:06:09 PM
posted on 2010-Aug-26 | 08:34:12 PM
understand.
posted on 2010-Aug-27 | 10:56:34 PM
posted on 2010-Aug-27 | 10:57:07 PM