To begin getting ready for CS 261, you will write a C programthat fills and sorts a singly linked list of integers. Make sureyour program compiles using gcc and the following list.h andtest_list.c files on the ENGR server. When sorting nodes, you maynot swap the values between the nodes, you must change the pointerson the nodes to swap them.
list.h
struct node { int val; struct node *next; }; int length(structnode *); //get the length of the list void print(struct node *,int); //print a certain number of elements from the list startingwith the first node struct node * push(struct node *, int);
PayPal Gateway not configured
PayPal Gateway not configured