The fetal error stops the complete execution of the program. If you are getting a fetal error in the C program it means, you have written the wrong syntax of the function. Kindly edit your question and add your code. We can help you after checking your code. Kindly elaborate more about it.