What's the difference between array and &array?

后端 未结 4 1791
感动是毒
感动是毒 2020-11-30 05:14

Assume that

int array[16];

There is standard conversion called array-to-pointer conversion, so array would be converted implic

4条回答
  •  感情败类
    2020-11-30 05:44

    An array in C behaves as a pointer to the address of the first element in memory.

提交回复
热议问题