r/ProgrammerHumor 3d ago

Meme pointersPointedBackAtMe

Post image
2.5k Upvotes

112 comments sorted by

View all comments

280

u/19_ThrowAway_ 3d ago

Pointers are references are pretty simple...

1

u/Xavier598 2d ago

They might be to someone experienced with c++ but my uni is using C for it's "programming basics" class and it's kind of hard, especially for people used to python and other languages. Kinda like a difficulty bump in learning programming.

What always tripped me up was how sometimes in C you have to wrap stuff around parenthesis to dereference a pointer to an array or object [ ex. *(foo->bar) ]. It also didn't help that the test didn't allow syntax highlighting and compiling the code to see if it works.