This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| typedef struct { | |
| int *items; | |
| size_t length; | |
| size_t capacity; | |
| } IntArray; | |
| void IntArray_push(IntArray *arr, int item) { |