C warning implicit declaration of function ‘exit’ March 25, 2023 by Tarik Add: #include <stdlib.h> to the top of your program.