+ 1
Why do we need to store a null value in vTable for a pure virtual function?
3 Answers
+ 1
Thatās to make it so you canāt call on the function unless itās defined else where.
0
if we can't create an object of a class which has pure virtual function, why do we need to store a null value in vTable, wasting memory?
0
Itās a base for the inherited classes to use that method.