C库函数 - tolower()

Python/Java学习交流群:369606713


C库函数 - tolower()

#include <stdio.h>

#include <ctype.h>



int main () {

   int i = 0;

   char c;

   char str[] = "TUTORIALS POINT";



   while( str[i] ) {

      putchar(tolower(str[i]));

      i++;

   }



   return(0);

}