public static int func1(int m, int n) { if (m == n || n == 1) return 1; else return func1(m - 1, n - 1) + n * func1(m - 1, n);}What precondition must exist in order to prevent the code in the accompanying figure from infinite recursion?
A. m >= 0 and n >= 0
B. m >= 0 and n >= 1
C. m >= 1 and n >= 0
D. m >= 1 and n >= 1
Answer: B
Computer Science & Information Technology
You might also like to view...
How do the different versions of Windows Server 2016 handle CAL and core-based licenses?
What will be an ideal response?
Computer Science & Information Technology
You can customize many features of Word by using the Word Options dialog box.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology