void Func(char str_arg[100]){
printf("%d\n", sizeof(str_arg));
}
int main(void){
char str[] = "Hello";
printf("%d\n", sizeof(str));
printf("%d\n", strlen(str));
char*p = str;
printf("%d\n", sizeof(p));
Func(str);
}
32位系统下下面程序的输出结果为多少?
A. 5 5 4 4 B. 6 5 4 4
C. 6 5 6 4 D. 5 5 5 100
登录后提交答案