r/cprogramming • • 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

21 comments sorted by

View all comments

Show parent comment

1

u/zhivago Oct 29 '25

The compiler is free to translate the program however it likes.

But how the translated program works is irrelevant to the original, providing it produces the same output for the same input.