不,但是只要你需要它就可以衰减到指针.
void foo1(char * c) {
}
int main() {
  char Foo[32];
  foo1(Foo); // Foo decays to a pointer
  char * s = Foo; // Foo decays to a pointer which is assigned to s
}
| 归档时间: | 
 | 
| 查看次数: | 184 次 | 
| 最近记录: |