✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
#include <iostream>
using namespace std;
int func(int n) {
if (n == 0)
return 1;
return n * func(n - 1);
}
int main() {
cout << func(4);
return 0;
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!