Skip to content
- Reference
- Examples
- C
An array that grows
Build a list of chat messages that grows with realloc, doubling its capacity when full, and watch the size, the capacity and the address change.
C15 minCodeDone
Back
Code
Inside: a 60-line program to run and change.
Already unlocked it? Sign in
Code editor. Press Control or Command plus Enter to run the code. Tab indents; to move focus out of the editor, press Escape and then Tab.