#include<iostream.h>
void main()
{
void prn(int a);
void prn(int a,int b);
int x,y;
cout<<”\n enter a number”;
cin>>x;
prn(x);
cout<<”\n enter two numbers”;
cin>>x>>y;
prn(x,y);
getch();
}
void prn(int a)
{
cout<<a;
return ;
}
void prn(int a,int b)
{
cout<<a<<b;
return ;
}
123priya 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
iamthwee
123priya 0 Newbie Poster
tkud 0 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.