Discussion :: Library Functions
-
It is necessary that for the string functions to work safely the strings must be terminated with '\0'.
Answer : Option A
Explanation :
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.
Be The First To Comment