Even though C language also support user define data types in the form of structures it is not OOPs because structures are value types whereas class interface etc are reference types structures get allocated stack memory reference type allocated heap memory
Structures do not support reusability of code whereas class and object support reusability of code C is not OOPs because is not support inheritance and polymorphism
Comments
Post a Comment