C语言用strupr函数将字符串中小写字母转换成大写字母,其他字符不转换。谢谢

日期:2016-02-13 05:42:06 人气:2

C语言用strupr函数将字符串中小写字母转换成大写字母,其他字符不转换。谢谢

原型:extern char *strupr(char *s); 用法:#include 功能:将字符串s转换为大写形式 说明:只转换s中出现的小写字母,不改变其它字符。返回指向s的指针。 举例: // strupr.c #include #include main() { char *s="
    A+
热门评论