Not able to get how answer is 12

How many times is the recursive function called, when the following code is executed?

void myrecursivefunction(int n)
{
if(n == 0)
return;
printf("%d ",n);
myrecursivefunction(n-1);
}
int main()
{
myrecursivefunction(10);
return 0;
}

9

10

11

12

answer should be 11 . i will report this question to the concerned officials

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.