APL/APL1.1/Dev1.1/Fonctions/zero.c
2021-11-30 15:07:19 +01:00

15 lines
220 B
C

#include <stdlib.h>
#include <stdio.h>
double zero(double a) {
a = 0.0;
return a;
}
int main(void) {
double x=37.5;
printf("avant : %f\n", x);
x=zero(x);
printf("après : %f\n", x);
return EXIT_SUCCESS;
}