Introduction
  • In this blog, I am going to share how to convert a string to lower case.
Software Requirements
  • Turbo C++ OR C.
Programming
  1. #include < stdio.h >
  2. #include < string.h > int main()
  3. {
  4. char string[1000];
  5. printf("Input a string to convert to lower case\n");
  6. gets(string);
  7. printf("Input string in lower case: \"%s\"\n", strlwr(string));
  8. return 0;
  9. }
Explanation:
  • In the above program, it is clearly understood that strlwr () is used to convert the string to lower case.

    programming
Output

Output