Check out example codes for "pointer offset notation". It will help you in understanding the concepts better.

Code Example 1

Pointer/offset notation
*( bPtr + 0 ) = 10
*( bPtr + 1 ) = 20
*( bPtr + 2 ) = 30
*( bPtr + 3 ) = 40

Learn ReactJs, React Native from akashmittal.com