20.12.2022 Views

ED21 - Unidad III - TDA Pila (1)

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Operación Iniciar Pila

Permite crear una pila vacía.

PROCEDIMIENTO iniciar_pila (E/S pila: tpila)

INICIO

pila.cima0

FIN

CIMA

contenedor=ARREGLO [1..MAX] de ELEMENTOS

tpila=REGISTRO

datos:contenedor

cima:ENTERO

FIN_REGISTRO

84

37

9

12

CIMA

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

Saved successfully!

Ooh no, something went wrong!