To assign a pointer to an array element, use the ampersand: element = &string[2];. Without an asterisk, an initialized pointer holds a memory address.
確定! 回上一頁