小弟最近有看到一個指標結構的問題如下
struct Node
{
unsigned char address;
unsigned char data[5];
};
typedef Node* PNode
main()
{
PNode pRoot = NULL;
pRoot = (PNode)malloc(sizeof(struct Node));
pRoot = (PNode)0x1000; //????
.......
}
pRoot = (PNode)0x1000;
這邊不太了解該如何解釋??
Node結構裡面存放的值又是哪些呢??
感謝~