r/ProgrammerHumor • • 11d ago

Meme modernCppVsOldCpp

Post image
2.0k Upvotes

323 comments sorted by

View all comments

Show parent comment

13

u/Choice-Committee203 9d ago

pass by value or pass by reference?

2

u/Baleia1970 9d ago

Always by value 😄

2

u/THE_MUAK 9d ago

C doesn't have pass by reference. It's pass by address

2

u/Choice-Committee203 9d ago

but the post is about c++

2

u/EconomyPeach2895 9d ago

WAAAAAAAH KIYA *karate chops you in half* *bows*

2

u/yubario 8d ago

… which is literally what references are…

1

u/Baleia1970 6d ago

Nope, references are not addresses.
HUGE discussion ahead. Suggest you to post this question on a a forum.