Home / MCQ Bank / Computer
Computer Miscellaneous On Data Structures

How many times is the recursive function called, when the following code is executed? 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; }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • 11

Related Computer Questions

When creating a pool of global addresses, which of the following can be used instead of the netmask command? You can check the conditions against __________ when applying conditional formatting The expression a{5} will match ______ characters with the previous regular expression. What is the purpose of the `matches()` method in Java regular expressions? Point out the wrong combination.