26.07.2013 Views

funções

funções

funções

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Funções na programação<br />

§ Em linguagens imperativas, TODOS os<br />

programas usam <strong>funções</strong><br />

§ No C, o programa SEMPRE começa<br />

executando a função main.<br />

#include <br />

int main(void)<br />

{<br />

printf("Olá, Mundo!");<br />

return 0;<br />

}

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

Saved successfully!

Ooh no, something went wrong!