These String functions are:
-
strlen():- This string function is basically used for the purpose of computing the ength of string
-
strupr() :- it converts string case sensitiveness into uppercase
-
strlwr():- it converts string case sensitiveness into lowercase
-
strcmp():- This string function is basically used for the purpose of comparing two string.
-
strcat():- This string function is used for the purpose of concatenating two strings ie.(merging two or more strings)
-
strcpy():- This string function is basically used for the purpose of copying one string into another string
-
strrev():- This string function is basically used for the purpose of reversing the string.
Example: Program based upon string functions.
WAP to accept a string and perform various operations:
-
To convert string into upper case.
-
To reverse the string .
-
To copy string into another string.
-
To compute length depending upon user choice.