Hi,
I am getting segmentation fault when the below line is executed:
result = strtok(data,delimiter);
I have given the backtrace :
Program received signal SIGSEGV, Segmentation fault.
0x44359e85 in strtok () from /lib/libc.so.6
(gdb) backtrace
#0 0x44359e85 in strtok () from /lib/libc.so.6
#1 0x08048c02 in main () at multiply.c:36
How to resolve this?