19.04.2013 Views

Aula 3 – Alocação Dinâmica - CAFW - UFSM

Aula 3 – Alocação Dinâmica - CAFW - UFSM

Aula 3 – Alocação Dinâmica - CAFW - UFSM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

a = criaPilha();<br />

empilha(a,10);<br />

empilha(a,20);<br />

empilha(a,30);<br />

int x;<br />

desempilha(a, &x);<br />

printf("Elemento '%d' retirado",x);<br />

liberaPilha(a);

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!