Correction : Les variables et les types
Correction Exercice 2
fichier main.c
#include <stdlib.h>
#include <stdio.h>
int main()
{
int number = 42;
printf("%d\n", number);
exit(0);
}
Correction Exercice 3
fichier main.c
#include <stdlib.h>
#include <stdio.h>
int main()
{
char * first_name = "Mari";
printf("Bonjour je suis %s\n", first_name);
exit(0);
}
13 September 2025