Home >>C String functions

C String functions

C String functions

Parameter Description
strlen() It returns the total length of the given string.
strcat() It is used to concatenate two string.
strcmp() It compares two string and return 0 if both strings are equal.
strcpy() It copy contents of one string to another string.
strdup() It is used to duplicate the given String.
strlwr() It converts the given string in lowercase.
strncat() It is used to concatenate portion of one string at the end of another string.
strrev() It is used to reverse the given string.
strset() It sets all the characters in a string to given character.
strupr() It converts the given string into uppercase.

C String functions Index

Sr.No. Topics
1 C strlen() function
2 C strcat() function
3 C strcmp() function
4 C strcpy() function
5 C strdup() function
6 C strlwr() function
7 C strncat() function
8 C strrev() function
9 C strset() function
10 C strupr () function

No Sidebar ads