Skip to content
Welcome to Coder's Den
  • Live Instructor
  • Products
  • Privacy Policy
  • About Us
Welcome to Coder's Den
  • About Us
  • Contact Us
  • Live Instructor
  • Privacy Policy
  • Products
    • A1 Canvas
    • Noksha

NULL vs nullptr

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we learned how to lock our pointers down with const ─ freezing either the value a pointer looks at, the address it holds, or both. We spent that whole post deciding what a pointer is allowed to change. Today we ask a different question ─ what if a […]

NULL vs nullptr Read More »

Const Pointers

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we peeled the label off our pointers and met the mysterious, typeless void pointer 📦 ─ a pointer that can hold the address of anything, but knows the type of nothing. If we haven’t read the earlier posts in this series, it’s worth going through them first ─

Const Pointers Read More »

Void Pointer

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we stacked pointers on top of pointers and conquered that dizzying double asterisk ** 😵‍💫. In this post we are gonna learn about ─ the mysterious, “typeless” void pointer 😉 If you haven’t read the earlier posts in this series, please go through them first ─ especially the

Void Pointer Read More »

Pointers to Pointers

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we learned about smart pointers ─ the modern, safe way to handle dynamic memory. At the very end, I promised we’d look at something that sounds a little dizzying ─ pointers to pointers 😵‍💫 If you haven’t read the earlier posts in this series, please go through them

Pointers to Pointers Read More »

Smart Pointers

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we learned dynamic memory allocation ─ how new grabs memory from the heap and delete gives it back. We also met two scary dangers ─ the memory leak (forgetting to delete) and the dangling pointer (using memory after delete). At the very end, we got a little taste

Smart Pointers Read More »

Dynamic Memory Allocation

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we learned the fascinating relationship between pointers and functions ─ how a function has an address, and how we can pass behavior around like data. If you haven’t read the earlier posts in this series, please go through them first ─ today everything we’ve learned about pointers finally

Dynamic Memory Allocation Read More »

Pointers and Functions

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we learned the deep connection between pointers and strings ─ how a C-style string is really just a char array, and how a pointer can walk through it character by character. If you haven’t read the earlier posts in this series, please go through them first ─ today

Pointers and Functions Read More »

Pointers and Strings

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we learned the deep and beautiful relationship between pointers and arrays. We saw that an array name is really an address, that marks[i] is just *(marks + i), and that arrays decay into pointers all the time. If you haven’t read the earlier posts in this series, please

Pointers and Strings Read More »

Pointers and Arrays

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we learned about pass by value and pass by reference. We also briefly touched pointer arithmetic along the way. If you haven’t read the earlier posts in this series, please go through them first, because today we are going to combine almost everything we have learned so far.

Pointers and Arrays Read More »

Pass by Value and Pass by Reference

Leave a Comment / Pointers / Shah Md. Imran Hossain

Hi everyone ✋ In the previous post we learned the very basics of pointers ─ the address-of operator, the dereference operator, and the asterisk operator. If you haven’t read that one yet, go through it first because we will be using all of those concepts here. Today we will talk about something that confuses a

Pass by Value and Pass by Reference Read More »

1 2 … 4 Next →

Recent Posts

  • NULL vs nullptr
  • Const Pointers
  • Void Pointer
  • Pointers to Pointers
  • Smart Pointers

Categories

  • C++ STL
  • Pointers
  • Tools
  • About Us
  • Contact Us
  • Privacy Policy

Copyright © 2026 Welcome to Coder's Den | Powered by Astra WordPress Theme