LENGTH 40
main()
{
int upcase=0,lowcase=0,num=0,othercase=0; //定义4个变量用来存储字符统计的累计和
char c[LENGTH],*p,upc...numc[LENGTH],*np,oc[LENGTH],*op; //定义5个字符数组分别用来存储输入字符串、大写字符串、小写字符串、数字字符串、其它字符串共5种字符串,然后定义5个字符指针
up=upc...if ( *p >= 'A' && *p <= 'Z')
{
upcase++; //如果为大写,就将大写计数器加1
*up=*p; //将字符保存到up指针指向的位置,即upc...othercase is :%d\n",upcase,lowcase,num,othercase); //分别输出计数值
printf("the last string is %s%s%s%s\n",upc