Bonjour,

Pourriez-vous m'aider car je ne comprends pas pourquoi

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
#define NB_PIONS 3
...
	pid_t *tab_process= (pid_t*)malloc(NB_PIONS * sizeof(pid_t));
	printf("\n\n\n\nsizeof(tab_process) : %d\n", sizeof(tab_process));
pq le résultat retourné est 4 alors que NB_PIONS vaut 3????


merci