Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
S Similar to references<br />
Pointer Operators<br />
S & means “obtain memory address” (countPtr = &count)<br />
S * is indirection or dereferencing operator. * returns<br />
synonym for object to which oper<strong>and</strong> points.<br />
S & <strong>and</strong> * are inverses<br />
52<br />
7<br />
countPtr count