Question: / / What does this program do ? #include #define SIZE 1 0 / / function prototype void someFunction ( const int b [ ]

//What does this program do?
#include
#define SIZE 10
//function prototype
void someFunction(const int b[], size_t start, size_t size);
//function main begins program execution
int main(void){
int a[SIZE]={8,3,1,2,6,0,9,7,4,5}; //initialize a
puts("Answer is:");
someFunction(a,0, SIZE);
puts("");
}
//What does this function do?
void someFunction(const int b[], size_t start, size_t size){
if (start < size){
someFunction(b, start +1, size);
printf("%d ", b[start]);
}
}

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 Programming Questions!