int t[5] = {0,0,0,0,0}; int array_ecriture (int tabecr[], int i, int j) { tabecr[i] = 1; tabecr[j] = 5; return 0; } int main(){ int a = array_ecriture(t,0,1); return t[1]; }