Convert uppercase string to lowercase with C.
#include <stdio.h>
#include <string.h>
int main()
{
char str[100];
printf("Enter any string: ");
gets(str);
strlwr(str); // Convert to lowercase
printf("Lowercase string: %s", str);
return 0;
}
Output
Enter your text : REZAUL KARIM
Uppercase string : rezaul karim
0 Comments