Output isnt coming for the subsequnce code as shown in video

#include
using namespace std;

void generate_subsequence(char *in,char *out, int i,int j){
//base case
if(in[i]=’\0’){
out[j]=’\0’;
cout<<out;
return;
}
//rec case
//include the current character
out[j]=in[i];
generate_subsequence(in,out,i+1,j+1);

generate_subsequence(in,out,i+1,j);

}

int main(){
char input[]=“abc”;
char output[10];
generate_subsequence(input,output,0,0);
return 0;
}

hello @Agam_virgo
pls share ur code using cb ide

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.