Damn you pointers! 😂

Pointers in C

Just dereference the link for the code in the video https://github.com/suspectedoceano/pointers

--

All the first principles are already settled in the video imho, therefore in this article i just want to elaborate a bit the trickiest points. I’ll try to maximise the signal/noise ratio, don’t expect a school manual. You should have the “This is obvious” feeling reading this essay, if not, you can easily fill the gap youtub_chatGpt_ing everything.

Void Pointers

When diving deep into the C programming language, a concept that often bewilders beginners is the “void pointer.” The name suggests a pointer to nothing, which can be misleading. Here’s an exploration of what a void pointer truly represents and how it differs from char pointers in C.

ELI5

Imagine having a universal adapter while traveling. Instead of carrying multiple chargers, one for each device, you have a single adapter that fits all (quote inspired). In the C language, a void pointer serves a similar purpose — it can point to…

--

--