need to write function swap(*list,char X , char Y) that swap beteein items in liked list ;
supose list: A ->B->C->D->NULL
swap(list,A,B)
result:
list : B->A->C->D->NULL
changing value of items is forbidden .
TNX . ..........
supose list: A ->B->C->D->NULL
swap(list,A,B)
result:
list : B->A->C->D->NULL
changing value of items is forbidden .
TNX . ..........
Comment