/* This is a duplicate for publishing. */ #include struct char_array { char *data; size_t size, capacity; };