3 ms·
Unlike OOLs, C does not enforce contracts around structures (objects). You are free to do literally anything you want to them.
by ryao 1y ago
Unlike OOLs, C does not enforce contracts around structures (objects). You are free to do literally anything you want to them.
- pjmlp 1y agoIncluding implementing Abstract Data Types, thus everything on the structs is only accessible via functions that enforce the contracts.