Check out example codes for "zeros of array c++". It will help you in understanding the concepts better.

Code Example 1

int A[5]; // Entries remain uninitialized
int B[5]= { 0 }; // All entries set to zero

Learn ReactJs, React Native from akashmittal.com