2D Arrays and Pointers - C

后端 未结 5 1842
春和景丽
春和景丽 2020-12-21 07:54

Just trying to really get my head round Arrays and Pointers in C and the differences between them and am having some trouble with 2d arrays.

For the normal 1D array

5条回答
  •  甜味超标
    2020-12-21 08:31

    See this answer in the C FAQ:

    There it is explained for char [] vs char *. The same thing can be extended to char *[] vs char **.

提交回复
热议问题