In this section, you will study how to convert the string to lowercase. You can see in the given example, we have define a string in uppercase characters. Therefore, in order to convert the characters in lowercase (a to z), we have used the library function tolower() provided by the header file <ctype.h>.
<ctype.h> - This header file is used for testing and converting characters.
Here is the code:
Output will be displayed as:
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: C String lowercase
Post your Comment