数组首地址是常量

int a[10],x;
a = &x;//error

常量不能作为右值。

猜你喜欢

转载自www.cnblogs.com/drunknbeard/p/9502393.html