Function Overloading - Online Code


This is a simple Program which shows Function Overloading.

Source Code

# include<iostream.h>

# include<conio.h>

int area(int side)


	return side*side;


int area(int l , int b)


	return l*b;


void main()



int (*p1)(int);

int (*p2)(int,int);
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


No comment yet. Be the first to post a comment.