Can someone please explain to me step by step why is this code showing 32*23?
I tried to understand it using the debugger in VS, but I just can't understand from where it got the last 2 numbers(23).
1 2 3 4 5 6 7 8 9 10 11 12 13 14
void f(int a) {
if (a <= 1){
cout << "*";
}
else {
cout << a;
f(a - 1);
cout << a;
}
}
int main()
{
f(3);
}