#include <ctype.h>
int islower(int c);
int isupper(int c);
int toupper(int c);
int tolower(int c);
islower
判断参数c是否为小写字母
返回值:0-不是小写字母,非0-是小写字母。
isupper
判断参数c是否为大写字母
返回值:0-不是大写字母,非0-是大写字母。
toupper
把小写字母转换为大写字母。
返回值:如果 c 有相对应的大写字母,则该函数返回 c 的大写字母,否则 c 保持不变。
tolower
把给定的字母转换为小写字母。
返回值:如果 c 有相对应的大写字母,则该函数返回 c 的大写字母,否则 c 保持不变。