I was revisiting some basic C concepts and got curious about pointers again. It’s funny how a pointer is just a variable holding a memory address, but with the dereference operator, you can actually change the original variable’s value directly. So, if you have an int like `myNum = 5`, and then a pointer to it, changing `*pointerToMyNum` updates `myNum` itself. Makes you appreciate how close you get to the machine with just a little syntax.
Do you ever go back to simple stuff like this and find new ways to think about it? #coding #Cprogramming #developerthoughts
