... pointer variable char *ptr = str; // print the string while(*ptr != '\0') { printf("%c", *ptr); // move the ptr pointer to the next memory location ...
確定! 回上一頁