What is the output of the following program?
#include
using namespace std;
void cheers(int n);
int main()
{
cheers(3);
return 0;
}
void cheers(int n)
if (n == 1)
cout
else
cout <>
cheers(n − 1);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here