apl/APL1.1/13.Debogueur/source/doubleur.c
unknown d9949b5cb0 a
2022-01-14 06:54:18 +01:00

17 lines
259 B
C

#include <stdlib.h>
#include <stdio.h>
int somme(int n, int m) {
return n+m;
}
int main(void) {
int valeur;
int* p = &valeur;
printf("Entrez un entier : ");
scanf("%d", p);
printf("Le double vaut %d\n", somme(*p, *p));
return EXIT_SUCCESS;
}