Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Arrays, parameter passing, pointers and dynamic allocation. - ELIS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
S int *countPtr, count;<br />
S count = 7;<br />
S countPtr = &count;<br />
S *countPtr++;<br />
Pointers<br />
location: x5000<br />
x6000<br />
S countPtr indirectly references count, *countPtr is called<br />
“deferencing a pointer”<br />
53<br />
7<br />
x6000 8<br />
countPtr count