P
priyanka
Hi there,
I am trying to compare the two strings but I get segmentation fault.
const char *function_name[512];
if(strcmp(function_name[function_number],"TimerM$HandleFire")==0)
The above code gets compiled, but I get segmentation fault when I run
it. Can anyone suggest why ?
Thank you,
Priya
I am trying to compare the two strings but I get segmentation fault.
const char *function_name[512];
if(strcmp(function_name[function_number],"TimerM$HandleFire")==0)
The above code gets compiled, but I get segmentation fault when I run
it. Can anyone suggest why ?
Thank you,
Priya