Which classes can have vtable?
(a) Classes having friend functions
(b) Classes having virtual functions
(c) Classes having static functions
(d) All classes have a vtable
The question was asked in a job interview.
Query is from vtable and vptr in chapter Class Hierarchies, Library & Containers of C++