C programming Part II
What value does the following function return if it is called using an argument of value 3?
int black_box(int n){
int result = 1;
for (int i = 2; i <= n; i++){
result *= i;
}
return result;
}
What value does the following function return if it is called using an argument of value 3?
int black_box(int n){
int result = 1;
for (int i = 2; i <= n; i++){
result *= i;
}
return result;
}