APPFS
Advanced practical programming for scientists
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
ex4_rec2.c
Go to the documentation of this file.
1 #include <stdio.h>
2 
3 void f(int i)
4 {
5  int a[100];
6 
7  a[1] = i + 1;
8 
9  if (i % 1000 == 0)
10  {
11  printf("%d ", i / 1000);
12  fflush(stdout);
13  }
14 
15  f(a[1]);
16 }
17 
18 
19 
20 int main()
21 {
22  f(1);
23 
24  return 0;
25 }
int main()
Definition: ex4_rec2.c:20
void f(int i)
Definition: ex4_rec2.c:3
int i
Definition: ex4_struct.c:4