error message

the generate.c file compiles and runs well and the find.c also compiles and runs well but i don't know why is i can't test them together

  • Problem is most likely in helpers.c. Not all bugs lead to segmentation fault all the time, some appear on certain occasions, for example large or no load, or pre-sorted array, or other specific circumstances. Or bug happens all the time, but does not show until certain conditions apply.
    – Blauelf
    Commented May 15, 2017 at 12:12

1 Answer 1


In my experience segmentation faults appear when you are trying to access a value outside of the allowed/existing range. Look over your code and you should be able to find the problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .