home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ for Dummies (3rd Edition)
/
C_FD.iso
/
CHAP04
/
CHAP04_4.CPP
< prev
Wrap
C/C++ Source or Header
|
1996-09-02
|
176b
|
15 lines
// Chap04_4.c
void changeArgument(int *pI)
{
*pI = 10;
}
int main()
{
int i = 5;
changeArgument(&i);
//the value of i here is now 10
return 0;
}