When I call abort() in an if statement, it causes a segmentation fault, if I do exit(0), it exits fine. But I need to use abort(), can anyone provide the details of what abort() exactly does? I googled it, but I don't much about what this function actually does to abort the program