#include
#include
typedef struct HH
{
int i;
int j;
struct HH *next;
}HH;
void changeV(HH *p)
{
HH tt;
tt.i=6;
tt.j=2;
tt.next=&p[0];
p[0]=tt;
//tmp->i=1;
//tmp->j=2;
//tmp->next=NULL;
//p[0]=tmp;
}
int main()
{
HH h[5];
for(int i=0;i<5;i++)
{
h[i].i=0;
h[i].j=0;
h[i].next=NULL;
}
changeV(h);
printf("%d\n",h[0].next);
printf("%d\n",&h[0]);
//结果
//-1904858288
//-1904858288
return 0;
}