When a parameter is passed call by value, what functions are guaranteed to be ca
ID: 674791 • Letter: W
Question
When a parameter is passed call by value, what functions are guaranteed to be called?
a. zero-parameter constructor
b. copy constructor
c. destructor
d. operator=
e. two or more of the above
2. When is a destructor not called?
. A local automatic variable goes out of scope
b. A pointer variable goes out of scope
c. delete
d. delete[]
e. Destructors are called in all instances
3.The pointer in a node points to
a.the data part of a node
b.the count part of a node
c.the pointer part of the node
d.the whole node
Explanation / Answer
1.
a. zero-parameter constructor
2.
A local automatic variable goes out of scope
3.
d.the whole node
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.