In place of char, I am writing string, but then complier is not printing any output.
void subsequence(string in,string out,int i,int j)
{
if(in[i]==’\0’) { out[j]=’\0’; cout<<out<<endl;
return;
} out[j]=int[i];
subsequences(in,out,i+1,j+1);
subsequences(in, out,i+1,j);
}