C Programming - Library Functions - Discussion

Discussion Forum : Library Functions - True / False Questions (Q.No. 1)
1.
It is necessary that for the string functions to work safely the strings must be terminated with '\0'.
True
False
Answer: Option
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.

Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.