Check out example codes for "declare character array statically?". It will help you in understanding the concepts better.

Code Example 1

char array[] = "123";

Code Example 2

char array[4] = "123";

Learn ReactJs, React Native from akashmittal.com