If you’re interested in this, I wrote a blogpost on a simple c hash table without deletion.
https://www.davidpriver.com/c-hash-table.html