STRLWR() Function – C Program

STRLWR() Function – C Program

Write a C Program to converts given string to lower case latter.

STRLWR() Function – The STRLWR() Function used to converts given string to lowercase.

The Syntax of STRLWR() Function :

strlwr(str1)  – It converts the str1 contains to lowercase.

Example of STRLWR() Function C Program

#include<stdio.h>
#include<string.h>
 
int main()
{

char str[100];

printf("Please, Enter the String = ");
 
gets(str);

printf(" \n The Lower case String is = %s",strlwr(str));

return 0; 

}

The STRLWR() Function C Program output is :

Please, Enter the String = MEERA

The Lower case String is = meera

 

Leave a Reply

Your email address will not be published. Required fields are marked *