diff --git a/2024/pointers/article.md b/2024/pointers/article.md index 0f8bf27b..cddab347 100644 --- a/2024/pointers/article.md +++ b/2024/pointers/article.md @@ -2,7 +2,9 @@ Pointers are like signposts in programming. They do not hold the data themselves but tell you exactly where to find it in memory. Think of them as an address for your data, letting you directly access and manipulate it. -This makes pointers incredibly powerful, but also dangerous if mishandled as they can lead to critical errors like crashes or corrupted data. Whether you are optimizing memory usage or working with dynamic data structures, it is important to use pointers correctly. +This makes pointers very powerful. For example, consider that you work in a library, and instead of carrying the same book to different tables, you simply give people the location of the book so they can find it directly. This saves effort and prevents having multiple copies of the same book on different locations. + +But, it is important to correctly reference the memory address as a wrong memeory address can cause errors similar to following a signpost leading you off a cliff. Following the correct signpost ensures you reach your destination safely and using the right memory address makes sure that the program works correctly. ## Authors - Muhammad Hashim \ No newline at end of file