☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agoA quick intro to pointerslemmy.mlimagemessage-square18fedilinkarrow-up1244arrow-down12file-text
arrow-up1242arrow-down1imageA quick intro to pointerslemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agomessage-square18fedilinkfile-text
minus-squareddplflinkfedilinkarrow-up9arrow-down1·edit-21 month agoIt’s the opposite, everything is passed by reference but primitives are also addresses and therefore passed by value You can’t pass objects or functions as value
It’s the opposite, everything is passed by reference but primitives are also addresses and therefore passed by value
You can’t pass objects or functions as value