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:int main(void) { PROGRAM printf("Process completed"); return 0; }
Please advise.