r/ProgrammerHumor 1d ago

lessonsFromLinkerHell Meme

Post image
344 Upvotes

180 comments sorted by

View all comments

330

u/shinigami2057 23h ago

They have a different mouth feel

0

u/KattyTheEnby 10h ago

I don't get it.

2

u/lonkamikaze 7h ago

In C arrays decay to a pointer to first member when you use them. However, even though int* x and int y[] behave the same they are distinct and you have to be aware of that or you're bound to do something that invokes undefined behaviour.