© 2026 Hashnode
You've just spent three hours debugging why your userspace application crashes every time it talks to your kernel module. The ioctl calls return garbage data, pointers that seems correct in application is corrupted, and structure fields contain compl...

CS50 Week 4 was one of the most challenging weeks so far — not just technically, but personally as well. This was the week where concepts like memory management, pointers, file handling, and low-level data representation all came together, and it dem...

Introduction If you’ve worked with arrays and pointers in C++, you might have noticed some confusing behavior. For example, arr == &arr[0] works fine, but int* p = &arr; throws an error. In this post, I’ll explain what’s going on behind the scenes w...

Why TF does this blog even exist? Let’s be real — most of us treat pointers like radioactive waste. Let's ignore those dreadful stories of childhood when pointers were introduced to you like a BIG demon. But deep down, the truth is: Memory is power....

In higher level languages, it is generally assumed that an array is dynamic by default, that you can push, pop, and shift any element in or out of your array with ease. In C the process is not as straight forward, if you want to add an element to you...
