Question
What is the output of the following code?void my_recursive_function(int n){Â Â if(n == 0)Â Â return;Â Â printf("%d ",n);Â Â my_recursive_function(n-1);}int main(){Â Â my_recursive_function(10);Â Â return 0;}
Answer: Option D
Was this answer helpful ?
The program prints the numbers from 10 to 1.
Was this answer helpful ?
Submit Solution