I am trying to assign the address of one of a structure, which is named as node, to another one named tmp, which has the same type--Node. However, the address of tmp is always less 8 then the address of node. Why is that? thanks!
#include <stdio.h>
#include <stdlib.h>
typedef struct _node
{
int data;
struct _node *next;
}Node;
int main()
{
Node *node = (Node*)malloc(sizeof(Node));
Node *tmp;
tmp = node;
printf("%d\n",&node);
printf("%d\n",&tmp);
}