1. It is necessary that for the string functions to work safely the strings must be terminated with '\0'.
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.02 pm
C string is a character sequence stored as a one-dimensional character array and terminated with a null character('\0', called NULL in ASCII).
The length of a C string is found by searching for the (first) NULL byte.
The length of a C string is found by searching for the (first) NULL byte.