HI this is my query :

I have a string A(A(c))

I have extracted all the substrings of it i.e A(A(c)),A(c),c

I have writtena recursive function to extract the substrings, and i need to store the substrings into an array of strings, Iam having issues in doing so

lets say
if(openbrac_count==closebrac_count & openbrac_count != 0)
{
strncpy(label[j][50],inputexp,i);
j++;
}
i need to store the substring into the array of strings label, please help.