when does a array act as a pointer in c?

后端 未结 5 737
盖世英雄少女心
盖世英雄少女心 2021-01-15 08:34

i know that the array name could be used as a pointer(although it\'s a converted form), but my question is , Is there some other instance where array acts as a pointer.

5条回答
  •  孤街浪徒
    2021-01-15 09:07

    Arrays in C are basically just pointers that reserve consecutive blocks of memory. So in essence arrays always act like pointers.

提交回复
热议问题