subject

If obj1 and obj2 are both objects of a class that uses dynamic memory allocation, but the class does nohave an assignment operator, what happens if you execute the following code? obj1 =obj2; 50)
a) a syntax error occurs, you cannot assign one object to another object without the =operator. b) there is a complete and independent copy of all the dynamic memory from obj2 to obj1.c) the pointer(s) to the dynamically declared memory in obj2 are copied to the correspondingpointers in obj1.d) a run-time error occurs, because the c++system does not know how to do the assignment

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
question
Computers and Technology, 24.06.2019 12:00
What is a sketch or blueprint of a web page that shows the structure (but not the detailed design) of basic page elements such as the logo, navigation, content, and footer?
Answers: 3
question
Computers and Technology, 24.06.2019 19:00
Luis is cloud-based( microsoft bot framework). true false
Answers: 1
You know the right answer?
If obj1 and obj2 are both objects of a class that uses dynamic memory allocation, but the class does...
Questions
question
Mathematics, 03.11.2020 01:00
question
Mathematics, 03.11.2020 01:00
question
Mathematics, 03.11.2020 01:00
question
Mathematics, 03.11.2020 01:00
question
Mathematics, 03.11.2020 01:00
question
Arts, 03.11.2020 01:00
question
Mathematics, 03.11.2020 01:00
question
Social Studies, 03.11.2020 01:00
question
Chemistry, 03.11.2020 01:00