tolower Function

  • If the character is an uppercase character (A to Z), then it is converted to lowercase (a to z) character.
  • It returns the lowercase equivalent of ch if ch is a letter.

  • Syntax :
    int tolower(int ch);



    Example

    
    #include <ctype.h>
    
    #include <stdio.h>
    
      void main() {
    
    	char b,ch='A';
    
    	b=tolower(ch);
    
    	printf("lowercase is: %c",b);
    
    }
    
    

    Output