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 15:00
Atool that matches persoal skills qualities interests and talets to a career is called a
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
1. so if i wanted to build a linux server for web services(apache) with 1cpu and 2 gb of memory.-operating at 75% of memory capacity2. a windows server with 2 cpu/ 4gb memory- operating at 85% of memory capacity3. a storage server with 1 cpu/ 2gb memory- operating at 85% of memory capacityhow much memory do i have to add for each server.so that the utilization rate for both cpu and memory is at a baseline of 60%."the details for the cpu like its processor or the memory's speed isnt to be concerned" yeah i kept asking my teacher if he's even sure about the but the whole class seems to be confused and the project is due in 3 days..this is a virtualization project where i have to virtualize a typical server into an exsi hypervisor.
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Write a function called checkfactor that takes two arrays of positive numbers, firstnumberrow and secondnumberrow. checkfactor checks if the first entry in firstnumberrow is divisible by the first entry in secondnumberrow, and performs the same operation on the next array elements until all entries have been checked. all the numbers are positive and the number of entries in the arrays are the same. the function should return the identified divisible numbers in two row arrays named firstdivisible and seconddivisible.restrictions: branches or loops should not be used. the code must use the internal mod and logical functions.hint: the mod function should be used to determine if two numbers are divisible. ex: for num1 and num2 if mod(num1,num2) is 0, then the two numbers are divisible.this is matlab
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut-off on an hev are both colored orange.
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
Biology, 25.01.2022 02:10
question
Mathematics, 25.01.2022 02:10
question
Mathematics, 25.01.2022 02:10
question
Mathematics, 25.01.2022 02:10
question
Mathematics, 25.01.2022 02:10
question
Chemistry, 25.01.2022 02:10
question
Mathematics, 25.01.2022 02:10
question
Mathematics, 25.01.2022 02:10
question
Mathematics, 25.01.2022 02:10
question
Mathematics, 25.01.2022 02:10
question
Mathematics, 25.01.2022 02:10
Questions on the website: 13722362