C/ctype.h/tolower

Материал из C\C++ эксперт
Перейти к: навигация, поиск

tolower: returns the lowercase equivalent of ch if ch is a letter or ch is returned unchanged

<source lang="cpp">


//Declaration: int tolower(int ch); //Function: returns the lowercase equivalent of ch if ch is a letter or ch is returned unchanged.


  1. include <ctype.h>
  2. include <stdio.h>

int main(void){

 putchar(tolower("Q"));

}

/* q*/

      </source>