0
What is the output of the following C program?
#include <stdio.h>
void f(int n) {
if (n > 0) {
f(n - 1);
printf("%d", n);
f(n - 1);
}
}
int main() {
f(3);
return 0;
}- A1232132
- B3212123
- C1231231
- D1213121
Correct answer: D