Skip to content

Commit

Permalink
Enhancing the quality after voting
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadHashim77 committed Dec 18, 2024
1 parent 95b8535 commit d0fa197
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 2024/pointers/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d0fa197

Please sign in to comment.