If a class is named MyClass,what must the destructor be named?
A) Erase
B) MyClass
C) Any name the programmer wishes except the name of the class
D) ~MyClass
E) None of the above.
Correct Answer:
Verified
Q6: Give three uses for the * operator.Name
Q7: A function can return an array.
Q8: A copy constructor has the same name
Q9: Give the output from this code fragment:
int
Q10: Pointer variables are just memory addresses and
Q12: Dynamic variables or dynamically allocated variables in
Q13: A pointer is an address,an address is
Q14: An array name is a constant pointer
Q15: There should eventually be a call to
Q16: Given the declarations below,write a code fragment
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents