Question: Int multiplication ( - - - - - - ( 1 ) - - - - - - - ) { if ( - -

Int multiplication(------(1)-------)
{
if(------(2)------)
return 1;
else
return Multiplication(-------(3)-------)*---------(4)--------;
}
1- Select the correct option for a recursive function that computes multiplication of numbers from 1 to n.
1) int n
2) n>1
3) n
4) n-1
1) int m
2) m!=0
3) m-1
4) m
1) int k
2) k==0
3) k-1
4) k

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!