I have this problem.
When I run my program. The whole program gets executed and then I gets a segmentation fault.
Explanation: From my main file
I gets a segmentation fault after Process completed. But the whoole program is run.Code: