Uploaded September 2025 | Updated November 2026, 3 hours ago
Demystify void pointers in C. I start with a quick pointer refresher, then explain how a void pointer has no type size (so you can’t dereference it), how allocators (malloc/calloc/realloc/free) use it to return typeless memory, and the right way to cast and use that memory safely.
---
⭐ Please support my channel on Patreon!
Get early access to videos, members-only content, behind-the-scenes updates, and join the Gary Explains Discord! Join here 👉 patreon.com/GaryExplains 🙌
Twitter: twitter.com/garyexplains
Instagram: instagram.com/garyexplains
#garyexplains
Demystify void pointers in C. I start with a quick pointer refresher, then explain how a void pointer has no type size (so you can’t dereference it), how allocators (malloc/calloc/realloc/free) use it to return typeless memory, and the right way to cast and use that memory safely.
---
⭐ Please support my channel on Patreon!
Get early access to videos, members-only content, behind-the-scenes updates, and join the Gary Explains Discord! Join here 👉 patreon.com/GaryExplains 🙌
Twitter: twitter.com/garyexplains
Instagram: instagram.com/garyexplains
#garyexplains










