function calling: basic doubt
Hi,
I have a very basic doubt with calling a function,
i have a function that accepts a string of arrays and returns a string of array as below:
Code:
char** parser(char **str)
{
return str;
}
and i have the main calling it as :
int main()
{
char label[50][25];
printf("enter expression");
scanf("%s",inputexp);
strcpy(label[0],inputexp);
char** test=parser(label);
}
I am getting an error here.. can you please help me why.... i know it may be a very trivial case, but please do help me :)