Day 29 Recap Questions
- What is overloading in C++?
- Can you overload a function with the same name, same parameters, but different return type?
- Is it true that we can overload all the operators of a class?
- What is a copy constructor? When will it be called?
- What happens if you don’t define a copy constructor?
- What is the
friend
keyword? When do we use it?