+ 2
how the size of the object of the inherited class can be known if its access level specifier is private.Please suggest for public and protected also
2 odpowiedzi
+ 1
no no I am asking that if in exams inheritance is shown than at that place ho
w to calculate.
0
use sizeof(objectname) function