Their are many string functions are present which have a different functionality.Important String functions are given below-
Function Name | Function Work |
---|---|
gets() | Reads string from user |
puts() | Prints the string |
strlen(string_name) | Count length of string |
strupr(string) | Convert string characters in uppercase |
strlwr(string) | Convert string characters in lowercase |
strcpy(destination, source) | copies from source string to destination string |
strrev(string) | Reverse string |
strcat(first,second) | concatenation of two string |
strcmp(first,second) | compares two string |