class dummy{
void Firstfunc(int a,int b,int c)
{ ....................... }
float Firstfunc(int a,int b,int c)
{ ........................ }
}
it is not possible, in order to overload the method signature has to be different. So change the arguments to :
float Firstfunc(float a, int b, int c). Return type can be any data type when you are overloading. Please correct me if I am wrong. And also a thing to note is you cannot change the overloaded declaration to float Firstfunc(long a, long b, long c)
will give you a compiler error if your method call is Firstfunc(1, 2, 3) because the compiler gets confused about both the overloaded methods.