DEV1.1
CM1
CM2
CM3
DEV1.1bis
Entrainements
SAé
TP01
TP03
TP05
TP06
TP07
TP08
TP09
TP10
TP11
TP12
TP13
TP14
TP15
TP16
TP17
TP17_reponses.txt
tests
tests.c
TP19
TP20
TP21
TP22
TP23
TP24
TP25
TP27
TP28
TP29
TP30
TP31
controle_machine_2_B
commande_grep
simoes_CM1.tar.gz
simoes_CM2.tar.gz
simoes_CM3.tar.gz
DEV2.1
DEV2.3
SAE11_2024
SCR
.gitignore
README.md
16 lines
260 B
C
16 lines
260 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;
|
||
|
}
|