Am 02.04.2023 um 16:29 schrieb Seymour J Metz:
Regardless of the implementation, call by reference is about more than
efficiency; sometimes a subroutine is required to alter one of its parameters,
and call by value doesn't allow that.
That's well known;
most C textbooks tell that call by value is impractical for large
structures or arrays
because of the copy involved; that's why for performance reasons often
pointers are passed,
although no modification of the parameters passed is desired or required.
That's what I referred to.
Kind regards
Bernd
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN