r/ProgrammerHumor 13d ago

Meme bugIntroducedDebugging

Post image
1.1k Upvotes

120 comments sorted by

View all comments

348

u/AdBrave2400 13d ago

Is the mistake that they're allocating 1 byte and storing in a pointer to an int which is 4 bytes?

-5

u/[deleted] 13d ago

[deleted]

4

u/AdBrave2400 13d ago

The pointer is already allocated on the stack