橘子味的心
标题:C库函数 - toupper()

C库函数 - toupper()

#include <stdio.h>

#include <ctype.h>



int main () {

   int i = 0;

   char c;

   char str[] = "Tutorials Point";



   while(str[i]) {

      putchar (toupper(str[i]));

      i++;

   }



   return(0);

}

目录

分类