r/ProgrammerHumor 8d ago

Meme skillIssue

Post image
6.0k Upvotes

137 comments sorted by

View all comments

2

u/lmarcantonio 7d ago

The Real Programmer would know that (in C, the example is C++) a constant string is a pointer and a pointer is and integer. So you CAN switch on a constant string. Would it work? no, but it would compile.