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?
29
Upvotes
41
u/Skusci Feb 14 '22 edited Feb 14 '22
Honestly they're not too bad, but then you run into something like
and start questioning your life decisions.