CodesJava

Easy learning with example program codes

C strlwr()

C strlwr():

String Functions are the built-in functions provided by C to operate and manipulate a string. C strlwr() function converts a string to lowercase letters.

Syntax:

strlwr (string )

Example:

#include<stdio.h>  
#include <string.h>   
 
void main()
{    
char str[10] = "Hello C.";  
printf("%s",strlwr(str));    
}

Output

hello c.
Please follow and like us:
error
Posted in C   








Copyright © 2019 CodesJava DMCA.com Protection Status