Pages

Sunday, July 21, 2024

What is polymorphism in C++

 Object of different type are treated as a part of the same base class


int add(int a,int b)

{

       return (a+b);

}


float add(float a , float b)

{

        return (a+b);

}

No comments:

Post a Comment

What is anti- Debugging

  Anti- debugging is how we can stop somebody from debugging our system and getting all the information out of your subsystem.