In this example, &x[2] , the address of the third element, is assigned to the ptr pointer. Hence, 3 was displayed when we printed *ptr . And, printing *(ptr+1) ...
確定! 回上一頁