How would I change this function so that it appends new nodes to the end of the list instead of at the beginning?
struct node *append(struct node *list, int data)
{
struct node *new;
...
Type: Posts; User: enyaj
How would I change this function so that it appends new nodes to the end of the list instead of at the beginning?
struct node *append(struct node *list, int data)
{
struct node *new;
...
This works, but how do I print it so that there are only 10 characters per line?