Check out example codes for "\0 in c". It will help you in understanding the concepts better.

Code Example 1

It is the zero character in C

Learn ReactJs, React Native from akashmittal.com