Interpretation of int (*a)[3]

前端 未结 8 1664
别那么骄傲
别那么骄傲 2020-12-07 17:10

When working with arrays and pointers in C, one quickly discovers that they are by no means equivalent although it might seem so at a first glance. I know about the differen

8条回答
  •  没有蜡笔的小新
    2020-12-07 17:24

    You may find this article helpful:

    • Reading C Declarations: A Guide for the Mystified

    I've made this answer a community wiki (since it's just a link to an article, not an answer), if anyone wants to add further resources to it.

提交回复
热议问题