void rec(int nb) { printf("("); if(nb==1) printf("0 + 0"); if (nb > 1) { rec(nb - 1); printf(" + "); rec(nb - 1); } printf(")"); }