Advertisement
manueng

enfilera

Jul 3rd, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. numero* enfilera(numero* pfila,numero *no){
  2. printf("t");
  3. numero *paux;
  4. paux=allocanumero();
  5. paux=pfila;
  6. if(pfila->prox==NULL){
  7. pfila->prox=no;
  8. printf("u");
  9. }else{
  10. printf("w");
  11. while(paux->prox!=NULL){
  12. paux=paux->prox;
  13. }
  14. }
  15. paux->prox=no;
  16. return pfila;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement