+ 1
Recursive question
What does the following code means I cannot see any pattern… int function name(int a[ ], int b) { if (b == 1) return a[0]; else return a[b-1]* functionname(a, b/2); }
3 Respuestas
+ 1
Miss it, thanks!!
What does the following code means I cannot see any pattern… int function name(int a[ ], int b) { if (b == 1) return a[0]; else return a[b-1]* functionname(a, b/2); }