Every 'C' compiler supports a large number of strings handling library functions. Table 8.3 provides
list of frequently used functions and their description.
Table 8.3 Standard C String Library Functions
FunctionsDescription
strlenO
Determines length of a string.
strcpy()Copies a string from source to destination.
strncpy()Copies characters of a string to another string upto the specified length.
strcnpO
Compares characters of two strings (Function descriminates between small &
capital letters.)
stricnpO
Compares two strings. (Function doesn't discrim ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.