0
Can a struct be inherited?
5 Réponses
+ 1
No, structs do not support inheritance and cannot contain overridable methods.
+ 1
I guess It can not because it is value type and value type do not offer inheritance and polymorphism
0
yes it cans exactly like a class
0
yes, structure in cpp are like classes with a partial difference in defining of puplic and private variables. so they can be inherited.
0
The answer is No