home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoftware Monthly 19…2 Programming Power Tools
/
MASO9512.ISO
/
cpptutor
/
cpptutor.arj
/
CH04
/
A04103.TXT
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-10-29
|
294 b
|
6 lines
To pass an argument by value, pass the argument itself. A copy of
the argument is made in the called function. This example
demonstrates that if an argument is passed by value and its value
is changed in the called function, the argument still has its old
value in the calling function.