Jump to content

função está correta?


nicholas22

Recommended Posts

Posted
TLDE* inverte(TLDE* l)
{
TLDE *p = l;
TLDE *aux=NULL;

p=l->prox;
l->prox=NULL;

while(p!=NULL)
{
aux=p->prox;
p->prox=l;
l=p;
p=aux;
}
return l;
}

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...