본문내용
extcol=nt[0][0].nextcol; //nextcol의 처음값 정해준다
for(i=1;i
{
printf("%d ",nt[i][nextcol].num);
nextcol=nt[i][nextcol].nextcol;
}
printf("\n");
return 0;
}
3.결과출력
[1]5층
[2]8층
[3]10층
[4]15층
for(i=1;i
printf("%d ",nt[i][nextcol].num);
nextcol=nt[i][nextcol].nextcol;
}
printf("\n");
return 0;
}
3.결과출력
[1]5층
[2]8층
[3]10층
[4]15층