![]() |
VOOZH | about |
C tolower() function is part of the C standard Library used to convert the uppercase alphabet to the lowercase alphabet. It does not affect characters other than uppercase characters.
Example
a
The tolower() function is defined in the <ctype.h> header file.
where,
The below examples demonstrate how to use the tolower() function in C:
The below C program demonstrates the tolower() function.
Original Character: M After using tolower: m
The below code converts all uppercase letters in the string to their lowercase equivalents, while leaving other characters unchanged.
code_in_c_@0123