Explain the different object based and object oriented concepts in C?

1 answer

Answer

1266880

2026-06-01 20:25

+ Follow

A data structure (declared with the struct keyWord) should be used to define a plain-old data type (a POD). A POD is a class, but one that has trivial construction and no invariants or methods (there is no encapsulation). PODs are primarily used for compatibility between C++ and C code, since C has no understanding of objects.

ReportLike(0ShareFavorite

Related Questions

Copyright © 2026 eLLeNow.com All Rights Reserved.