
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);
}