A circular queue in C99 with array-backed ring buffer, automatic capacity doubling, optional fixed-capacity mode, and reserve/shrink support. Out-parameter reads return false on empty without modifying the output. Single header + single source, unit and randomized tests included.
c education queue makefile c99 data-structures ring-buffer dynamic-array circular-queue fixed-capacity array-based automatic-growth out-parameter
-
Updated
Nov 13, 2026 - C