i have the following codes in C language in linux:
the problem with me is that when i call readFile function...it checks for some if statement and calls notexist function ......after the notexist function completes its operation it does not return to readFile function and print "back here"....can anyone suggest my mistake
int main(int argc, char *argv[]) {
....
....
....
if (strcmp(msg,lm)==0)
{
readFile(w);
}
}
return 0;
}
notexist(char *me)
{
....
....
....
return(1) ;
}
void readFile(char *file)
{
....
....
....
if ( )
{
notexist(file);
printf("back here");
}
return;
}