main() { sinhvien x; LIST l; khoitao(l); tao_ds(l); xuat(l); getch(); }
int main() { khoitao(head); nhapds(head); duyetdq(head); printf("\n $umdevide 5: %d ",sumdevide(head)); printf("\n $umdaucuoi: %d",sumfirstlast(head)); clearhead(head); printf("\n \t Clearhead: "); duyetdq(head); clearfoot(head); printf("\n \t Cleafoot: "); duyetdq(head); insertxhead(69,head); printf("\n \t INSERTHEAD: "); duyetdq(head); insertxfoot(77,head); printf("\n \t INSERTfOOT: "); duyetdq(head); sortlowtohight(head); printf("\n \t Sort: "); duyetdq(head); getch(); return 0; }