Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void stampaMex();
  4.  
  5. int main(){
  6.    
  7.     stampaMex();
  8.     stampaMex();
  9.     stampaMex();
  10.    
  11.     return 0;
  12. }
  13.  
  14. void stampaMex(){
  15.     static int stampe=0;
  16.     stampe++;
  17.     printf("\nStampa #%d!", stampe);
  18.     return;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement