Advertisement
luizaspan

Aula funções II

Jun 23rd, 2015
521
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void mensagem (void) // sem prototipagem
  4. {
  5.     printf("Olá ");
  6.     return;
  7. }
  8.  
  9. int main(void)
  10. {
  11.     mensagem();
  12.     printf("mundo (via função!) \n");
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement