Question 10 What does the following code display? int foo (int n) { if (n == 1) return 1; } } int main() { cout << foo (
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 10 What does the following code display? int foo (int n) { if (n == 1) return 1; } } int main() { cout << foo (
Question 10 What does the following code display? int foo (int n) { if (n == 1) return 1; } } int main() { cout << foo (5) << endl; 09 else O 15 4 05 return n + foo (n - 1);