【简答题】阅读程序,写出程序的运行结果。 void main( ) { struct st { int n: struct st *next; } a[3]={5,&a[1],7,&a[2],9,&a[0]}, *p=a; int i; for(i=0; inext; printf(″p->n=%d\n″, p->n); } 程序的运行结果: ①
【简答题】阅读程序,写出程序的运行结果。 void main( ) { struct st { int n: struct st *next; } a[3]={5,&a[1],7,&a[2],9,&a[0]}, *p=a; int i; for(i=0; inext; printf(″p->n=%d\n″, p->n); } 程序的运行结果: ①