What is the output of the program?
#include <iostream>
using namespace std;
void Abc (int x)
if (x<=0)
return;
Abc (x-1);
cout<<x;
Abc (x-1);
}
int main() {
Abc (3);
return 0;
}
Answers
Answered by
18
Explanation:
include <iostream>
using namespace std;
void Abc (int x)
if (x<=0)
return;
Abc (x-1);
cout<<x;
Abc (x-1);
}
int main() {
Abc (3);
return 0;
}
Similar questions