>>224
void List(struct LIST *pt){
if (pt == NULL) {
putchar('\n');
} else {
printf(" %d",pt -> a);
List(pt->nextptr);
}
}
解説:再帰(的)関数。リスト構造。などでぐぐれ。