What does *array[] mean?

后端 未结 2 1464
不知归路
不知归路 2021-01-29 16:17

What does this mean? I see it all the time in programs and I don\'t get it:

int *array[9];

Why is the asterisk there. What is the difference be

2条回答
  •  一生所求
    2021-01-29 16:47

    an array of 9 pointers to int type

    The asterisk means pointer. You can read the Backus-Naur form for C language to see the definitions of types.

提交回复
热议问题