DEV/DEV1.1/TP17/doubleur.c
Bekkouche Anis 1c467cd9cd rrr
2024-10-09 11:55:53 +02:00

16 lines
255 B
C

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