**
strlwr()函数运用
**
程序:
#include<stdio.h>
#include<string.h>
int main()
{
char c1[]="AaBbCc";
printf("%s\n",c1);
printf("%s\n",strlwr(c1));
return 0;
}
输出结果:
AaBbCc
aabbcc
--------------------------------
Process exited with return value 0
Press any key to continue . . .
**
strupr()函数运用
**
程序:
#include<stdio.h>
#include<string.h>
int main()
{
char c1[]="AaBbCc";
printf("%s\n",c1);
printf("%s",strupr(c1));
return 0;
}
输出结果:
AaBbCc
AABBCC
--------------------------------
Process exited with return value 0
Press any key to continue . . .