The value inside the for loop nn turns to 0, after it exits the loop. I expected it to increment as described in the loop. How do I make nn save it's value after exiting?void branch(int *numbers, int left) {   Int nb, nn;    nb = 0;    nn = 0;    if(left != 0)        for(int branchn = 1; branchn <= left; branchn++) {            for(int index = 1; index <= branchn; index++) {                *(buffer + nb) = *(buffer + nb) * 10 + *(numbers + nn++);                printf(%d\n, nn);            }            nb++;            length++;            branch(numbers, left - 1);        }    else {        branchop(length--);        nb--;    }}
value inside for loop not incrementing
c