
void print (Nodeptr list)

{

for ( ; list == NULL; list = list->next)

printf ("%d ", list->data);

printf ("\n");

}

Use insert-sort function to place items in descending order and print
function to display them

void main (void) {

Nodeptr list = NULL;

int item;
}
|

3
|
|
 |