Differences when using ** in C

前端 未结 11 973
半阙折子戏
半阙折子戏 2020-12-24 10:50

I started learning C recently, and I\'m having a problem understanding pointer syntax, for example when I write the following line:

int ** arr = NULL;
         


        
11条回答
  •  长情又很酷
    2020-12-24 11:47

    int ** arr = NULL;
    

    It's tell the compiler, arr is a double pointer of an integer and assigned NULL value.

提交回复
热议问题