//Program using function overloading
#include<iostream.h>
#include<conio.h>
{
int vol(int);
float vol(float, int);
long vo...
Upcoming SlideShare
Loading in …5
×

Program using function overloading

0 views
132 views

Published on

This is for the students of computer science for their projects

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
0
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Program using function overloading

  1. 1. //Program using function overloading #include<iostream.h> #include<conio.h> { int vol(int); float vol(float, int); long vol(int, int, int); int vol(int x) { return(x*x*x); } float vol(float, int) { return(3.14*x*x*y); } long vol(int x, int y, int z) { return(x*y*z); } getch(); }

×