//答案是:d 9,8
//但程序有错误,正确有是:
#include
#include
void main()
{ char a[ ]={'a','b','c','d','e','f','g','h',' '};int i,j;
i=sizeof(a); j=strlen(a);
printf("%d,%dn",i,j);
}
//答案是:d 9,8
//但程序有错误,正确有是:
#include
#include
void main()
{ char a[ ]={'a','b','c','d','e','f','g','h',' '};int i,j;
i=sizeof(a); j=strlen(a);
printf("%d,%dn",i,j);
}