C++ 面试题-指针参数

2011-04-25 22:27:30 · 作者: · 浏览: 1739

写出程序结果:
void Func(char str[100])
{
  printf("%d\n", sizeof(str));
}

答:
4
分析:
指针长度