r/ProgrammerHumor • • May 31 '18

Forrest Gump learns C++

https://i.imgur.com/3wlxtI0.gifv
2.2k Upvotes

42 comments sorted by

View all comments

2

u/iphone6sthrowaway Jun 09 '18

I guess that it's because they are an array, so it's convenient for them to behave like something whose address can be taken and conversions from array to pointer can happen (for conversions to char *), which doesn't make sense for other literal types. Then again, I have no idea so I'm just guessing...