could someone explain the changes of the variable N for me, and explain why. you help would be appreciated....
Code:#include <stdio.h> void hanoi(int n,char from,char aux,char to) { if (n==0){ return;} hanoi(n-1,from,to,aux); printf("\nMove disk %d from %c to %c",n,from,to); hanoi(n-1,aux,from,to); } void main(void) { hanoi(3,'a','b','c'); getchar(); }