
提问人:网友d*******1
发布时间:2022年5月1日 22:23
[]
【例 7-1-15】分析以下程序的输出结果。#include
【例 7-1-15】分析以下程序的输出结果。#include struct STUD{ int no; struct STUD *next;} ;void main( ){ int i; struct STUD st1, st2, st3, *st; st1. no=1; stl. ne xt=ast2; st2. no=2;st2. ne xt=ast3; st3.no=3; st3. ne xt=ast1t3 ; st=&st1; for (i=1; i<4; i++) { printf(" %d " , st->no); st=st->eett; }printf ('' \ n'' );}

