APPFS
Advanced practical programming for scientists
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
ex4_rec2.c File Reference
#include <stdio.h>

Go to the source code of this file.

Functions

void f (int i)
 
int main ()
 

Function Documentation

void f ( int  i)

Definition at line 3 of file ex4_rec2.c.

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 }
void f(int i)
Definition: ex4_rec2.c:3
int i
Definition: ex4_struct.c:4
int main ( )

Definition at line 20 of file ex4_rec2.c.

21 {
22  f(1);
23 
24  return 0;
25 }
void f(int i)
Definition: ex4_rec2.c:3