Code:#include<iostream.h>
#include<conio.h>
class test
{
private:
float a,b,c;
int q,w;
public:
int test(int q, int w=4)
{
return(q*w);
}
float test(int a,int b,int c)
{
return ((a+b+c)/3);
}
};
void main()
{
clrscr();
test o,p,l;
o=test(2,3);
p=test(2);
l=test(1,2,4);
getch();
}
compiling error
cant convert int to * test
and also ::test