Dec 25, 2025 · 3 min read · We’ve all heard about this: “A pointer is just a variable that stores a memory address.” That statement is technically true — but incomplete. If pointers were only addresses, every pointer would be exactly the same (usually 4 or 8 bytes of data). But...
Join discussionDec 16, 2025 · 83 min read · Part 1: Functions and the Call Stack Before we can understand pointers and memory management in C, we need to understand how functions work and what happens behind the scenes when your program runs. This foundation will make everything else click int...
Join discussionOct 29, 2025 · 2 min read · Looking back, this might be a dumb question, but that’s what blog notes are for 🤣 tl;dr &: Used as an operator to get the address of a variable * in Type: Used to define the type as a pointer (e.g., *int) * in Expression: Used as an operator to d...
Join discussion
Oct 6, 2025 · 1 min read · My latest FreeCodeCamp article covers pointers in Go: why they matter, how to use them, and practical examples for writing cleaner, more efficient code. Check it out here: https://www.freecodecamp.org/news/learn-how-to-use-pointers-in-go-with-example...
Join discussion
Oct 6, 2025 · 13 min read · Pointers are a fundamental but often dreaded concept in every programming language that supports them. Luckily for us, Go makes working with pointers straightforward and safe. In this article, we will demystify pointers in Go. You'll learn: What poi...
Join discussion
Oct 4, 2025 · 4 min read · Ever written a small line of code that completely broke your program for no clear reason?That happened to me recently while solving a simple C++ problem. Here’s the line that started it all 👇 string key; for (int count : freqArr) { key += "#" + ...
Join discussionAug 22, 2025 · 5 min read · Building on Box, Rc, and Arc: Moving from shared ownership to shared mutable state In my previous blog post, we explored Box, Rc, and Arc smart pointers for managing ownership and sharing data. But there was one crucial limitation: these smart pointe...
Join discussionAug 20, 2025 · 5 min read · When you're learning Rust, one of the most important concepts to grasp is memory management through smart pointers. Unlike languages with garbage collection, Rust gives you precise control over where your data lives and who owns it. Three fundamental...
Join discussion