Cpp Programming Quiz 49 – In which of the following a virtual call is resolved at the time of compilation?

Question: In which of the following a virtual call is resolved at the time of compilation?
[A]. From inside the destructor.
[B]. From inside the constructor.[C]. From inside the main().
[D]. Both A and B.

Answer: Option D