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.
Const Ptr, Const Data<br />
int main() {<br />
int x = 5, y;<br />
const int * const ptr = &x; //const pointer has to be initialized<br />
cout