Previous Next Up Index Contents

Exercice 10.3

Affichage: 2

2

1000

2

Implémentation:

#include <stdio.h>

main()
{
 void MACHIN(int X); /* Prototype de la fonction appelée */
 int A;
 A=2;   
 printf("%d \n", A);
 MACHIN(A);
 printf("%d \n", A);
 return 0;
}

void MACHIN(int X)
{
 printf("%d \n", X);
 X = 1000;
 printf("%d \n", X);
}


Previous Next Up Index Contents

Feedback - Copyright © 1993,1996,1997 F.Faber