Question 26: Which of the following options describe the expected overhead for a class that has 5 virtual functions?

A. Every object of the class holds the address of a structure holding the addresses of the 5 virtual functions.

    B. Every object of the class holds the addresses of the 5 virtual functions.

    C. Every object of the class holds the address of the first virtual function, and each function in turn holds the address of the next virtual function.

    D. Every object of the class holds the address of a link list object that holds the addresses of the virtual functions.

    E. Every object of the class holds the address of the class declaration in memory, through which the virtual function calls are resolved.

D

你可能感兴趣的:(Special)