class mca1
{
    public:
        void power(float m,int n)
        {
           cout<<"RESULT OF "<<m<<"^"<<n<<"="<<pow(m,n);
        }
};
class mca2:public mca1
{
    public:
        void power(int m,int n)
        {
            cout<<"\nRESULT OF "<<m<<"^"<<n<<"="<<pow(m,n);
        }
};
please tell me is there any way to call overridden functions without use of virtual function....just on the basis of arguments?
 
    