+ 1
Since C has the structure and the union as a completion. Why still C cant be an OOP programming language?
There are similarities between initialization and method in other language that support OOP and structures and unions in C.
1 ответ
+ 1
In some ways it is. You can create a struct and functions that manipulate the data within the struct. The main difference is encapsulation. There are other minor differences too such as overloading.