3 ms·
My Ada is somewhat weak, but IIRC Value2 doesn't alias Value1. The parameters don't work like C. It's more like an assignment once the function returns, althoug
by tgv 2y ago
My Ada is somewhat weak, but IIRC Value2 doesn't alias Value1. The parameters don't work like C. It's more like an assignment once the function returns, although the compiler is free to deviate from that.
- renox 2y agoTry it: change the size of the array: with a small array, it's passed by value, with a big array it's passed by reference and the value of "result2" is changed..