[C] 将串中的小写字母转换为大写字母 →→→→→进入此内容的聊天室

来自 , 2020-10-31, 写在 C, 查看 105 次.
URL http://www.code666.cn/view/778609db
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void)
  5. {
  6.    char *string = "abcdefghijklmnopqrstuvwxyz", *ptr;
  7.  
  8.    /* converts string to upper case characters */
  9.    ptr = strupr(string);
  10.    printf("%s\n", ptr);
  11.    return 0;
  12. }
  13.  

回复 "将串中的小写字母转换为大写字母"

这儿你可以回复上面这条便签

captcha