Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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
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.