Vidyalelo
Data Structure · Q154

Miscellaneous on Data Structures

Programming · Data Structure · question 154

Q154

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;

A.
10
B.
1
C.
10 9 8 ... 1 0
D.
10 9 8 ... 1
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board