**************************
typedef struct nd {
int info;
struct nd*link;
} node;
/* AFTER CREATING LINK LIST */
node*reverse(node *h)
{
node *H NULL *p;
while(h! NULL)
{
p h; /* insert value of 1st node into p */
h h->next;
p->next H; /* insert p->next NULL because H is equals to NULL (1st time) */
H p; /* insert address of p into H */
}
return H;
}