DEV/DEV1.1/partie_1/debogueur.c

19 lines
262 B
C
Raw Normal View History

2024-10-14 13:54:43 +02:00
#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;
2024-10-22 15:14:54 +02:00
}
a