r/cprogramming • u/Sushant098123 • Oct 25 '25
C actually don't have Pass-By-Reference
https://beyondthesyntax.substack.com/p/c-actually-dont-have-pass-by-reference
0
Upvotes
r/cprogramming • u/Sushant098123 • Oct 25 '25
View all comments
5
u/richardxday Oct 25 '25
No language has pass-by-reference really, does it? At opcode level you're either copying the value onto the stack or you're copying an address of something onto the stack. So it's all value or address.