MUstar

IoT C언어 0424 - 7-6

Apr 24th, 2017
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. void fruit(int n);
  4.  
  5. int main(void)
  6. {
  7.     fruit(1);
  8.  
  9.     return 0;
  10. }
  11.  
  12. void fruit(int n)
  13. {
  14.     printf("apple\n");
  15.     if(n==3)return;
  16.     fruit(n+1);
  17. }
RAW Paste Data