Answers

Question and Answer:

  Home  Placement Assistance

⟩ Explain Overloading?

Overloading happens when two or more function have the same function name but different return type and parameter.

eg: int sum(int a,int b);

int sum(int a,int b,int c);

The overloading happens in the same class i,e these function should be in the same class.

 260 views

More Questions for you: