+ 1
Stuck
for c++ the more on classes segment and operator overloading the first question idk. pllss help
2 Answers
+ 2
Operator overloading is where you have a function with the same name that takes different parameters. Like this:
class Person
{
public:
Person();
Person(int x);
};
The person class has 2 default constructors that is overloaded.
Hope this helps. Let me know if I need to go into more detail.
-Craig
+ 1
Thank you so much I got it!