Anonymous user
Parameter Passing: Difference between revisions
m
Small typos
m (→Example [[C]]/[[C++]]: Missed some grammar) |
m (Small typos) |
||
Line 21:
[[Ada]] uses both by value and by reference passing and all three parameter access modes:
* objects of the scalar types are passed by value
* objects with an identity are passed by reference. Objects with identities are task types, protected types, non-copyable (limited) types, tagged types ([[object-oriented programming|OO objects]] with type identity)
* for all other types the choice is left to the compiler.
|