HI All,
Am searching strings in a file, getting the string from data base in the code.
If i take 10 strings as search input from data base am getting the output correct, if am taking more than 10 strings as input am getting a Memory fault(coredump) Error.
In the code am using fopen() for opening file once and using fseek() to make the file pointer to point to beginning of file once i searched first string then i repeat the same till the end of the search strings.
Please help me with the solution for the problem.