adplus-dvertising
frame-decoration

Question

What is the importance of constructors in inherited objects with virtual functions?

a.

They initialize the object's virtual function table pointers.

b.

They determine the type of object instantiated.

c.

They perform the actual initialization of the virtual function table.

d.

Both a and c

Posted under Reverse Engineering

Answer: (d).Both a and c Explanation:Constructors in inherited objects with virtual functions are important because they perform the actual initialization of the virtual function table pointers.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the importance of constructors in inherited objects with virtual functions?