Q373
What will be the output of the following code? #include using namespace std; int list[200]; void func(int n, int m = 0) int i; if(n == 0) for(i = 0; i 0; --i) if(m == 0 || i <= list[m - 1]) list[m] = i; func(n - i, m + 1); int main() int n=3; func(n,0); return 0;
Options are not available for this question.
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board