Question: C programming 1) A)Do some additional modification(linking) in the given program that will create sorted(Ascending order) linked list using 3 initialized names given below. -
1) A)Do some additional modification(linking) in the given program that will create sorted(Ascending order) linked list using 3 initialized names given below. - List obtained sorted linked list structure. Assume that program initialization will be as follows. \#include \#include \#include struct node f. char data[10]; struct node n/ represent link field i: int main(void) ( typedef struct node *NODEPTR; char a[10]; int cnt =0 NODEPTR x,y,z, save, head; x=( NODEPTR)malloc(sizeof(struct node)); y=( NODEPTR)malloc(sizeof(struct node)); z=( NODEPTR ) malloc(sizeof(struct node ); strepy(x->data,"MEHMET"); strepy( y> data," AYSE"); strepy(y->data,"EMRE"); .. //complete the rest B) Using getnode0 function, and doing some modifications sort by names by descending order - List sorted linked list structure. C) Make the linked list circular and - List sorted linked list structure again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
