String library functions in C
The string library functions strlen, strcat, strcpy, strcmp, strstr, strtok can be used for string operations in C.
The string library functions strlen, strcat, strcpy, strcmp, strstr, strtok can be used for string operations in C.
A string can be either variable or constant. A variable string can be modified in the program whereas a constant string cannot be changed.
How to remove leading and trailing whitespace characters in a string in C language is explained with an example program.