The strlwr(string) function returns string characters in lowercase. Let's see a simple example of strlwr() function.
#include#include int main(){ char str[20]; printf("Enter string: "); gets(str);//reads string from console printf("String is: %s",str); printf("\nLower String is: %s",strlwr(str)); return 0; }
Output: