33,311
社区成员
发帖
与我相关
我的任务
分享
char* str= "A中文"//
printf("%s\n",str);
#include<stdio.h>
int main()
{
int m, n;
char* str = "A中文";
m=strlen(str);
for (int i = 0; i < m; i++) {
n = str[i];
printf("%d\n", n);
}
return 0;
}