C Program to convert uppercase string to lower case

Problem Statement

Write a program in C to convert the given string from upper case to lower case.

How to convert a upper case string to lower case string in C ?

int main()
    char str[ ] = "THIS IS ABUNDANTCODE.COM";
    printf("%s\n",strlwr (str));
    return  0;

Leave Your Comment

Liked this content?. Please spread the word :)