Home >>C String functions >C strlwr() function

C strlwr() function

C strlwr() function

C strlwr() function converts the given string in lowercase.

Syntax:
Strlwr(str)

Note:- Here str is given string.

Parameters:-

It takes string as parameter.

Return type:-

It returns modified string.

Example-1

#include <stdio.h>
#include <string.h>
int main()
{
    char str[ ] = "PhpTpoint";
    printf("%s\n",strlwr (str));
    return  0;
}

Output:
phptpoint

No Sidebar ads