第二章数组名是一个指针常量吗?
由指针和数组定义可以看出,指针和数组是完全不同的类型。但数组名是指针吗?
Array types are characterized by their element type and by the number of elements in the array.
我们已经看到,在表达式中使用数组名时,实际上使用的是指向数组第一个元素的指针。
We have already seen that when we use an array name in an expression, we are actually using a pointer to the first element in the array.
应用推荐