#include<stdio.h> #include<string.h> void main() { char a[10]={256,22,15,1}; printf("%d\n",strlen(a)); }
[此贴子已经被作者于2016-10-12 14:21编辑过]
#include<stdio.h> #include<string.h> void main() { int a[10]={256,22,15,1}; printf("%d\n",strlen(a)); }