Question 10 What does the following code display? int foo (int n) { if (n == 1) return 1; } } int main() { cout << foo (
Posted: Sun Jul 03, 2022 11:59 am
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);