Convert a String To Lower Case
In this blog, I'm explaining how to convert a string to lower case.
Introduction
- In this blog, I am going to share how to convert a string to lower case.
Software Requirements
Programming
- #include < stdio.h >
- #include < string.h > int main()
- {
- char string[1000];
- printf("Input a string to convert to lower case\n");
- gets(string);
- printf("Input string in lower case: \"%s\"\n", strlwr(string));
- return 0;
- }
Explanation:
- In the above program, it is clearly understood that strlwr () is used to convert the string to lower case.
Output