Question: 49
(Choose 1 answer)
What is the primary purpose of a copy constructor in a C++ class?
A. To allocate memory dynamically
B. To initialize an object by copying data from another object of the same class
C. To delete an object
D. To overload the assignment operator