Q:

What is the assignment operator in C++?

0

What is the assignment operator in C++?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

The default assignment operator handles assigning one object to another of the same class. Member to member copy (shallow copy). If required we can overload the assignment operator.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C++ Interview Questions and Answers(2022)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Can you overload a function based only on whether ... >>
<< What is the difference between function overloadin...