subject

If you define a destructor, are you required to define an operator '=' and a copy constructor?

a. yes, that is the rule of three.
b. yes, doing so is required by the compiler.
c. no, but doing so is often the appropriate decision.
d. no, but failing to do so will cause a memory leak.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Aplan to budget time for studying and activities is referred to as a study routine. study habits. study skills. a study schedule.
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
What multimedia system creates an immersive, real-life experience that the user can interact with?
Answers: 1
question
Computers and Technology, 23.06.2019 22:50
What is an rss reader used for? for creating a user account on a social new site
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
Which of the following characters is acceptable to use in a filename? ? / – %
Answers: 1
You know the right answer?
If you define a destructor, are you required to define an operator '=' and a copy constructor?
Questions
question
Social Studies, 31.01.2020 08:04
question
Mathematics, 31.01.2020 08:04
Questions on the website: 13722363