Check out example codes for "how to create a string in c". It will help you in understanding the concepts better.

Code Example 1

char string[20];

Code Example 2

char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};
char greeting[] = "Hello";

Learn ReactJs, React Native from akashmittal.com