tolower
Converts an uppercase character to the corresponding lowercase character
#include <ctype.h>
int tolower (
int c);
The tolower function returns the corresponding lowercase character when the argument is an uppercase character. Otherwise, the original character is returned.
The tolower function converts an uppercase character to the corresponding lowercase character in the ASCII code set.
isalnum, isalpha, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit, strlwr, strupr, toupper
#include <stdlib.h> #include <ctype.h> #include <stdio.h> main() { char s[] = "THIRD QUARTER REPORT"; int i; for(i=0;s[i];i++) s[i] = tolower(s[i]); printf("%s\r\n",s); getch(); }