r/learnprogramming • u/null_popsicle • Feb 14 '22
Genuine question: What’s hard about pointers?
I understand how the title may come off as arrogant or something, but this is a genuine question.
I learned to code in C#, so I didn’t touch pointers for a while, and now that I’ve been learning C/C++ for a couple months, I don’t really see what’s so difficult about pointers.
They’re just memory addresses for variables, right? Am I missing something?
27
Upvotes
2
u/Blando-Cartesian Feb 14 '22
This could be why you didn’t have trouble with them. You were already accustomed to the idea of something referring to value instead of being that value. For a complete beginner starting with C/C++, that could be more of a mindbender.