char str[10]; char *p = str;. Now all the operations mentioned above are valid. Another way we can use ptr is by allocation memory dynamically using malloc() ...
確定! 回上一頁