测试是否为汉字

测试是否为汉字

void testmy(){
 char *hello="??大点的";

 char hellodd[]={hello};
 unsigned char test= hellodd[2];
 if(test>137){

 printf("大于%u",test);
 }else
 {
  printf("小于");
 }
//putchar((char)hello[5]);
printf("字符:%d \n",hellodd[2]);
printf("%d",strlen( hellodd));

}



大盘预测

你可能感兴趣的:(测试是否为汉字)