Question:What is the use of a ‘\0’ character?
Answer
It is referred to as a terminating null character, and is used primarily to show the end of a string value.