Posts by cheroky • 113 points
1 post
-
1
votes1
answer41
viewsQ: Encapsulating instance structure
Given the following code, implement a small library that makes it possible. #include <stdio.h> #include "object.h" int main() { obj_instance *oi1; obj_instance *oi2; object_init(); oi1 =…