I am coding a DOS console application. When I compile and run the program it gets halfway through before quitting out. It quits out when trying to invoke a function. When I deug the program it says : "Program received signal SIGSEGV, Segmentation fault"

Does anyone know how I would go about fixing this? Is it a compiler error or a mistake I made. If it helps I am using Dev C++. Any help would be greatly appreciated.