Check out example codes for "const pointer c++". It will help you in understanding the concepts better.

Code Example 1

int *p;										// pointer to int
const int *p == int const *p;				// pointer to const int
int * const p;								// const pointer to int
const int * const p == int const * const p;	// const pointer to const int

Learn ReactJs, React Native from akashmittal.com