What is the assignment operator in C++?
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.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
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