Question: 1 / / Ex . 7 . 1 8 : Ex 0 7 _ 1 8 . cpp 2 / / What does this program
Ex: Excpp
What does this program do
#include
using namespace std;
int whatIsThis int int ; function prototype
int main
const int arraySize ;
int a arraySize ;
int result whatIsThis a arraySize ;
cout "Result is result endl;
end main
What does this function do
int whatIsThis int b int size
if size base case
return b;
else recursive step
return b size whatIsThis b size ;
end function whatIsThis
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
