
Implement an allocated counter whose fields stay private to meter.c.
meter *m = meter_create(9); meter_add(m, -4); meter_value(m)5meter.hmeter.cmallocfree<stdlib.h>declares malloc and free<stddef.h>defines NULL
Run the tests to grade your code
Implement an allocated counter whose fields stay private to meter.c.
meter *m = meter_create(9); meter_add(m, -4); meter_value(m)5meter.hmeter.cmallocfree<stdlib.h>declares malloc and free<stddef.h>defines NULL
Run the tests to grade your code
Memory will appear here