[培训]科锐逆向工程师培训第53期2025年7月8日开班!
char szbuf[]="中国520爱你Love\0"; int count = 0; char * p = szbuf; while ( *p != '\0' ) { if ( *p < 0 ) { p++; count++; } p++; } printf("本行找到汉字: %d个 字符串长度 %d\n",count,strlen(szbuf)); getchar();