Salut tout est dans le titre voici un bou de code explicatif merci

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
void myfunction(int l)
{
static int i = 9;
static char buff[1024] = strdup("lol"); 
static int j = 10;
 
other_f(/* mes static */);
 
printf("%d %s %d\n",i,buff,j);
 
/*
je devrais avoir :
i = 0;
buff = NULL;
j = 0;
*/
}