Bonjour,
Pourriez-vous me dire pourquoi ce code focntionne :
Alors que ce code plante :Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 int main() { char toto[50][50]; void *tc = &toto; char **tutu = tc; strcpy((tutu[0]), "Test"); return 0; }
Je vous remercie.Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 char toto[50][50]; int main() { void *tc = &toto; char **tutu = tc; strcpy((tutu[0]), "Test"); return 0; }