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 Mysterious, but very useful.<br />
Pointers<br />
S int *countPtr, count; //what are types of each variable?<br />
S count = 7;<br />
S countPtr = &count;<br />
S *countPtr == count == 7;<br />
S countPtr indirectly references count<br />
51<br />
7<br />
countPtr count