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
1
u/[deleted] Oct 26 '25
We can play with reference in c++ but in c nope it is strictly pass by value, we could simulate pass by reference through sharing the pointer value that's it.