通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下程序:
#include <stdio.h> main() { struct node { int n; } *sp;truct node *next; struct node x[3] = {{2,x+1},{4,x+2},{6,NULL}}; p=x; printf("%d,",p->n); printf("%d\n",p->next->n); }
程序运行后的输出结果是()。