What is the output of the following code? int foo(int n, int r) { if (n == 0) } int } 0 3 01 00 02 else return 0; return
Posted: Sun Jul 03, 2022 12:00 pm
What is the output of the following code? int foo(int n, int r) { if (n == 0) } int } 0 3 01 00 02 else return 0; return foo (n = 1, n + r); main() { cout << foo (3, 0);