Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numero* enfilera(numero* pfila,numero *no){
- printf("t");
- numero *paux;
- paux=allocanumero();
- paux=pfila;
- if(pfila->prox==NULL){
- pfila->prox=no;
- printf("u");
- }else{
- printf("w");
- while(paux->prox!=NULL){
- paux=paux->prox;
- }
- }
- paux->prox=no;
- return pfila;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement