How do you decipher complex declarations of pointers+arrays?

后端 未结 7 1585
醉话见心
醉话见心 2021-02-06 17:08

Although I use std::vector almost all the time, I am interested in understanding as much as I can about pointers. Examples of what I am talking about:



        
相关标签:
7条回答
  • 2021-02-06 18:05

    [] has higher precedence than *, that's why it's an array of pointers and not the other way around.

    0 讨论(0)
提交回复
热议问题