Is it possible to convert char[] to char* in C?

后端 未结 4 493
伪装坚强ぢ
伪装坚强ぢ 2020-12-04 06:16

I\'m doing an assignment where we have to read a series of strings from a file into an array. I have to call a cipher algorithm on the array (cipher transposes 2D arrays). S

4条回答
  •  北海茫月
    2020-12-04 06:28

    Well, I'm not sure to understand your question...

    In C, Char[] and Char* are the same thing.

    Edit : thanks for this interesting link.

提交回复
热议问题