source code name: FNOVER1.CPP

#include<stdio.h>
#include<conio.h>
#include<iostream.h>
void volume(int s)
{
cout<<" \n volume of Cube "<< s*s*s;
}
void volume(int r, int h)
{
cout<< "\n volume of Cylinder: "<<3.142*r*r*h;
}
void volume(long l, int b, int h)
{
cout<<"\n volume of Rectangle box: "<<l*b*h;
}
void main()
{

clrscr();
cout<<"function overloading program ";
volume(5);
volume(10,6);
volume(125l,10,12);
getch();
}

output: