close

Pointer with character array in c

 

 

char **ptr = array; is a pointer to a pointer to char like the below schema (ptr is argv, array is argc):

https://stackoverflow.com/questions/37098194/why-this-pointer-to-pointer-to-char-is-current

 

 

 

What is the difference between char* and char[]? - Quora

REF:https://www.quora.com/What-is-the-difference-between-char*-and-char

 

 

 

image

https://microchipdeveloper.com/tls2101:pointers-strings

 

 

 

 

 

Shock horror! I learned something about arrays in C - Sticky Bits - Powered  by FeabhasSticky Bits – Powered by Feabhas

arrow
arrow
    文章標籤
    c++
    全站熱搜
    創作者介紹
    創作者 天才R 的頭像
    天才R

    做 個 有 趣 的 人

    天才R 發表在 痞客邦 留言(0) 人氣()