Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Complejo *masMemoria(Complejo *nc, int nueva_long){
  2. Complejo *aux;
  3. aux=(Complejo *)realloc(nc, sizeof(Complejo)*nueva_long);
  4. if(aux!=NULL){
  5. nc=aux;
  6. }
  7. else{
  8. printf("Problemas al reservar memoria dinámican");
  9. return nc;
  10. }
  11. }
  12. return nc;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement